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:
parent
ddddc60eb9
commit
bd9828a039
|
@ -5742,12 +5742,6 @@ static void color_fill_fbo(IWineD3DDevice *iface, IWineD3DSurface *surface,
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
checkGLcall("glClear");
|
checkGLcall("glClear");
|
||||||
|
|
||||||
if (swapchain && surface == ((IWineD3DSwapChainImpl *)swapchain)->frontBuffer
|
|
||||||
&& ((IWineD3DSwapChainImpl *)swapchain)->backBuffer) {
|
|
||||||
glDrawBuffer(GL_BACK);
|
|
||||||
checkGLcall("glDrawBuffer()");
|
|
||||||
}
|
|
||||||
|
|
||||||
LEAVE_GL();
|
LEAVE_GL();
|
||||||
context_release(context);
|
context_release(context);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue