opengl32: Use BOOL type where appropriate.
This commit is contained in:
parent
508365a2c1
commit
129df098a2
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue