Roderick Colenbrander : wgl: Return TRUE on wglReleasePbufferDCARB success.
Module: wine Branch: master Commit: ccb4ee39ab9fed61a17d927fed79bfebbd645f66 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ccb4ee39ab9fed61a17d927fed... Author: Roderick Colenbrander <thunderbird2k(a)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); } /**
participants (1)
-
Alexandre Julliard