Commit bd9828a0 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Don't restore the draw buffer in color_fill_fbo().

This should be done by the context management these days.
parent ddddc60e
......@@ -5742,12 +5742,6 @@ static void color_fill_fbo(IWineD3DDevice *iface, IWineD3DSurface *surface,
glClear(GL_COLOR_BUFFER_BIT);
checkGLcall("glClear");
if (swapchain && surface == ((IWineD3DSwapChainImpl *)swapchain)->frontBuffer
&& ((IWineD3DSwapChainImpl *)swapchain)->backBuffer) {
glDrawBuffer(GL_BACK);
checkGLcall("glDrawBuffer()");
}
LEAVE_GL();
context_release(context);
}
......
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