=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: opengl32/tests: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Thu Oct 31 16:12:39 CDT 2013
Module: wine
Branch: master
Commit: eafb3d8fca609e2b16da3d583412dafa94dddfc4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eafb3d8fca609e2b16da3d583412dafa94dddfc4
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Wed Oct 30 22:00:14 2013 +0100
opengl32/tests: Use BOOL type where appropriate.
---
dlls/opengl32/tests/opengl.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c
index 83c5256..4303d1c 100644
--- a/dlls/opengl32/tests/opengl.c
+++ b/dlls/opengl32/tests/opengl.c
@@ -343,7 +343,7 @@ static void test_setpixelformat(HDC winhdc)
static void test_sharelists(HDC winhdc)
{
HGLRC hglrc1, hglrc2, hglrc3;
- int res;
+ BOOL res;
hglrc1 = wglCreateContext(winhdc);
res = wglShareLists(0, 0);
@@ -451,7 +451,7 @@ static void test_colorbits(HDC hdc)
int iAttribRet[sizeof(iAttribList)/sizeof(iAttribList[0])];
const int iAttribs[] = { WGL_ALPHA_BITS_ARB, 1, 0 };
unsigned int nFormats;
- int res;
+ BOOL res;
int iPixelFormat = 0;
if (!pwglChoosePixelFormatARB)
@@ -486,7 +486,7 @@ static void test_gdi_dbuf(HDC hdc)
int iAttribRet[sizeof(iAttribList)/sizeof(iAttribList[0])];
unsigned int nFormats;
int iPixelFormat;
- int res;
+ BOOL res;
if (!pwglGetPixelFormatAttribivARB)
{
@@ -730,7 +730,8 @@ static void test_deletecontext(HWND hwnd, HDC hdc)
struct wgl_thread_param thread_params;
HGLRC hglrc = wglCreateContext(hdc);
HANDLE thread_handle;
- DWORD res, tid;
+ BOOL res;
+ DWORD tid;
SetLastError(0xdeadbeef);
res = wglDeleteContext(NULL);
More information about the wine-cvs
mailing list