From: Lionel Landwerlin Date: Fri, 9 Aug 2019 13:00:30 +0000 (+0300) Subject: mesa: be consistent on GL_TRUE/GL_FALSE & TRUE/FALSE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a233a3a74ec7785f7e8f885bc6b4a444af23010d;p=mesa.git mesa: be consistent on GL_TRUE/GL_FALSE & TRUE/FALSE Signed-off-by: Lionel Landwerlin Acked-by: Eric Engestrom --- 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) {