=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: opengl32: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Thu Oct 31 16:12:39 CDT 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Wed Oct 30 22:00:12 2013 +0100

opengl32: Use BOOL type where appropriate.

---

 dlls/opengl32/wgl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 361a1ec..1a9b1b4 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -588,7 +588,7 @@ INT WINAPI wglGetPixelFormat(HDC hdc)
 BOOL WINAPI wglSetPixelFormat( HDC hdc, INT format, const PIXELFORMATDESCRIPTOR *descr )
 {
     struct opengl_funcs *funcs = get_dc_funcs( hdc );
-    if (!funcs) return 0;
+    if (!funcs) return FALSE;
     return funcs->wgl.p_wglSetPixelFormat( hdc, format, descr );
 }
 




More information about the wine-cvs mailing list