opengl32: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Mon Nov 18 18:05:56 CST 2013


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

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index dc5282a..9255e34 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -1233,11 +1233,11 @@ static void (WINAPI *pgluTessVertex)(GLUtesselator *tess, GLdouble *location, GL
 static HMODULE load_libglu(void)
 {
     static const WCHAR glu32W[] = {'g','l','u','3','2','.','d','l','l',0};
-    static int already_loaded;
+    static BOOL already_loaded;
     static HMODULE module;
 
     if (already_loaded) return module;
-    already_loaded = 1;
+    already_loaded = TRUE;
 
     TRACE("Trying to load GLU library\n");
     module = LoadLibraryW( glu32W );
-- 
1.8.4.3




More information about the wine-patches mailing list