From e54f06183c24ecb59fd4ec08e137484553f8f07b Mon Sep 17 00:00:00 2001 From: Roderick Colenbrander Date: Wed, 26 May 2010 21:51:30 +0200 Subject: [PATCH] wined3d: Replace set_shader call with unset_shader in blt_to_drawable. The blit_shader is activated before draw_textured_quad, so after use it should be deactivated instead of being activated again. --- dlls/wined3d/surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 0903f6eecaf..f128bb65d59 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -4355,7 +4355,7 @@ static inline void surface_blt_to_drawable(IWineD3DSurfaceImpl *This, const RECT draw_textured_quad(This, &src_rect, &dst_rect, WINED3DTEXF_POINT); LEAVE_GL(); - device->blitter->set_shader((IWineD3DDevice *) device, This); + device->blitter->unset_shader((IWineD3DDevice *) device); swapchain = (This->Flags & SFLAG_SWAPCHAIN) ? (IWineD3DSwapChainImpl *)This->container : NULL; if (wined3d_settings.strict_draw_ordering || (swapchain