diff options
author | Yonggang Luo <luoyonggang@gmail.com> | 2023-06-22 23:58:38 +0800 |
---|---|---|
committer | Yonggang Luo <luoyonggang@gmail.com> | 2023-06-27 18:18:28 +0800 |
commit | 05b840521ab3e621d1664cd91d839914ddabd0db (patch) | |
tree | 52656050b3e24673b3c994b4791db1afa011d0d8 /src/gallium/targets/libgl-gdi | |
parent | 49e84fdad2b453460100ea9253015eec437f5405 (diff) |
treewide: Replace the usage of TRUE/FALSE with true/false
this is a separate patch as it's won't affect the code style
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: David Heidelberg <david.heidelberg@collabora.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23577>
Diffstat (limited to 'src/gallium/targets/libgl-gdi')
-rw-r--r-- | src/gallium/targets/libgl-gdi/stw_wgl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/targets/libgl-gdi/stw_wgl.c b/src/gallium/targets/libgl-gdi/stw_wgl.c index 25a4b18ed6f..d285f70378b 100644 --- a/src/gallium/targets/libgl-gdi/stw_wgl.c +++ b/src/gallium/targets/libgl-gdi/stw_wgl.c @@ -104,7 +104,7 @@ wglMakeCurrent( HDC hdc, HGLRC hglrc ) { - return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? TRUE : FALSE; + return DrvSetContext( hdc, (DHGLRC)(UINT_PTR)hglrc, NULL ) ? true : false; } @@ -229,7 +229,7 @@ wglUseFontBitmapsW( MAT2 tra; FIXED one, minus_one, zero; void *buffer = NULL; - BOOL result = TRUE; + BOOL result = true; one.value = 1; one.fract = 0; @@ -266,7 +266,7 @@ wglUseFontBitmapsW( } } else { - result = FALSE; + result = false; } glEndList(); @@ -276,7 +276,7 @@ wglUseFontBitmapsW( return result; #else - return FALSE; + return false; #endif /* _GAMING_XBOX */ } @@ -302,7 +302,7 @@ wglUseFontOutlinesA( assert( 0 ); - return FALSE; + return false; } WINGDIAPI BOOL APIENTRY @@ -327,7 +327,7 @@ wglUseFontOutlinesW( assert( 0 ); - return FALSE; + return false; } WINGDIAPI BOOL APIENTRY @@ -375,7 +375,7 @@ wglRealizeLayerPalette( assert( 0 ); - return FALSE; + return false; } |