wined3d: Add a checkGLcall() after glReadBuffer.

This commit is contained in:
Rico Schüller 2009-01-09 11:23:04 +01:00 committed by Alexandre Julliard
parent 29dd286d79
commit 5e79b0608d
1 changed files with 1 additions and 0 deletions

View File

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