Module: wine Branch: master Commit: 1c53957f082a645e7246086ee740274d6db65f9e URL: http://source.winehq.org/git/wine.git/?a=commit;h=1c53957f082a645e7246086ee7...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Tue Nov 19 01:05:56 2013 +0100
opengl32: Use BOOL type where appropriate.
---
dlls/opengl32/wgl.c | 4 ++-- 1 files 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 );