Commit e54f0618 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

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.
parent d64ee9ff
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment