aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-08-09 16:00:30 +0300
committerLionel Landwerlin <[email protected]>2019-08-09 22:59:43 +0300
commita233a3a74ec7785f7e8f885bc6b4a444af23010d (patch)
tree66fe6207dcb54669f5671558e24832e8fb6a3760 /src/mesa/main/get.c
parent8f4dea20fcfeeb37d43f5bfa66b0afebf1735afe (diff)
mesa: be consistent on GL_TRUE/GL_FALSE & TRUE/FALSE
Signed-off-by: Lionel Landwerlin <[email protected]> Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index b32552a9cb8..765c0e4ae2c 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1336,7 +1336,7 @@ check_extra(struct gl_context *ctx, const char *func, const struct value_desc *d
api_found = GL_TRUE;
break;
case EXTRA_VERSION_43:
- api_check = TRUE;
+ api_check = GL_TRUE;
if (_mesa_is_desktop_gl(ctx) && version >= 43)
api_found = GL_TRUE;
break;
@@ -1454,7 +1454,7 @@ check_extra(struct gl_context *ctx, const char *func, const struct value_desc *d
api_found = GL_TRUE;
break;
case EXTRA_EXT_PROVOKING_VERTEX_32:
- api_check = TRUE;
+ api_check = GL_TRUE;
if (ctx->API == API_OPENGL_COMPAT || version == 32)
api_found = ctx->Extensions.EXT_provoking_vertex;
break;