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

This should be done by the context management these days.
This commit is contained in:
Henri Verbeet 2009-12-09 20:32:07 +01:00 committed by Alexandre Julliard
parent ddddc60eb9
commit bd9828a039
1 changed files with 0 additions and 6 deletions

View File

@ -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);
}