opengl32: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-10-30 22:00:12 +01:00 committed by Alexandre Julliard
parent 508365a2c1
commit 129df098a2
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ INT WINAPI wglGetPixelFormat(HDC hdc)
BOOL WINAPI wglSetPixelFormat( HDC hdc, INT format, const PIXELFORMATDESCRIPTOR *descr ) BOOL WINAPI wglSetPixelFormat( HDC hdc, INT format, const PIXELFORMATDESCRIPTOR *descr )
{ {
struct opengl_funcs *funcs = get_dc_funcs( hdc ); struct opengl_funcs *funcs = get_dc_funcs( hdc );
if (!funcs) return 0; if (!funcs) return FALSE;
return funcs->wgl.p_wglSetPixelFormat( hdc, format, descr ); return funcs->wgl.p_wglSetPixelFormat( hdc, format, descr );
} }