diff options
author | Lionel Landwerlin <[email protected]> | 2019-08-09 16:00:30 +0300 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-08-09 22:59:43 +0300 |
commit | a233a3a74ec7785f7e8f885bc6b4a444af23010d (patch) | |
tree | 66fe6207dcb54669f5671558e24832e8fb6a3760 /src/mesa | |
parent | 8f4dea20fcfeeb37d43f5bfa66b0afebf1735afe (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')
-rw-r--r-- | src/mesa/main/get.c | 4 | ||||
-rw-r--r-- | src/mesa/main/texgetimage.c | 2 |
2 files changed, 3 insertions, 3 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; diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index 693077e1993..0e475e53893 100644 --- a/src/mesa/main/texgetimage.c +++ b/src/mesa/main/texgetimage.c @@ -640,7 +640,7 @@ get_tex_memcpy(struct gl_context *ctx, if (depth > 1) { /* only a single slice is supported at this time */ - memCopy = FALSE; + memCopy = GL_FALSE; } if (memCopy) { |