Rico Schüller : wined3d: Add a checkGLcall() after glReadBuffer.

Alexandre Julliard julliard at winehq.org
Sat Jan 10 11:16:44 CST 2009


Module: wine
Branch: master
Commit: 5e79b0608d93546cac057ac6fcfe1e0f6c028849
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5e79b0608d93546cac057ac6fcfe1e0f6c028849

Author: Rico Schüller <kgbricola at web.de>
Date:   Fri Jan  9 11:23:04 2009 +0100

wined3d: Add a checkGLcall() after glReadBuffer.

---

 dlls/wined3d/surface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 771291f..dea6c0a 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -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();
     }
 




More information about the wine-cvs mailing list