Commit 5e79b060 authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

wined3d: Add a checkGLcall() after glReadBuffer.

parent 29dd286d
......@@ -963,6 +963,7 @@ static void read_from_framebuffer_texture(IWineD3DSurfaceImpl *This)
TRACE("Locking offscreen render target\n");
ENTER_GL();
glReadBuffer(device->offscreenBuffer);
checkGLcall("glReadBuffer");
LEAVE_GL();
}
......
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