Roderick Colenbrander : wgl: wglBindTexImageARB should return TRUE on success.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 30 08:55:59 CDT 2007


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

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Sat Jul 28 23:21:57 2007 +0200

wgl: wglBindTexImageARB should return TRUE on success.

---

 dlls/winex11.drv/opengl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index ef30bab..635476a 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -2770,6 +2770,7 @@ static GLboolean WINAPI X11DRV_wglBindTexImageARB(HPBUFFERARB hPbuffer, int iBuf
 
         pglXDestroyContext(gdi_display, tmp_context);
         HeapFree(GetProcessHeap(), 0, buf);
+        return GL_TRUE;
     }
 
     if (NULL != pglXBindTexImageARB) {




More information about the wine-cvs mailing list