Roderick Colenbrander : wgl: Return TRUE on wglReleasePbufferDCARB success.

Alexandre Julliard julliard at winehq.org
Mon Mar 24 07:54:54 CDT 2008


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

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Sat Mar 22 12:36:20 2008 +0000

wgl: Return TRUE on wglReleasePbufferDCARB success.

---

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

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 33b09d3..a61a116 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -2528,8 +2528,7 @@ static GLboolean WINAPI X11DRV_wglQueryPbufferARB(HPBUFFERARB hPbuffer, int iAtt
 static int WINAPI X11DRV_wglReleasePbufferDCARB(HPBUFFERARB hPbuffer, HDC hdc)
 {
     TRACE("(%p, %p)\n", hPbuffer, hdc);
-    DeleteDC(hdc);
-    return 0;
+    return DeleteDC(hdc);
 }
 
 /**




More information about the wine-cvs mailing list