diff options
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/bufferobj.c | 4 | ||||
-rw-r--r-- | src/mesa/main/context.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 38129d46230..5ff1ad21bd1 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -32,7 +32,7 @@ #include <stdbool.h> #include <inttypes.h> /* for PRId64 macro */ -#include "util/debug.h" +#include "util/u_debug.h" #include "glheader.h" #include "enums.h" #include "hash.h" @@ -1062,7 +1062,7 @@ get_no_minmax_cache() static bool disable = false; if (!read) { - disable = env_var_as_boolean("MESA_NO_MINMAX_CACHE", false); + disable = debug_get_bool_option("MESA_NO_MINMAX_CACHE", false); read = true; } diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index b3a32b57380..33fcf8877bf 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -124,7 +124,7 @@ #include "shaderobj.h" #include "shaderimage.h" #include "state.h" -#include "util/debug.h" +#include "util/u_debug.h" #include "util/disk_cache.h" #include "util/strtod.h" #include "util/u_call_once.h" @@ -714,7 +714,7 @@ init_attrib_groups(struct gl_context *ctx) ctx->ErrorValue = GL_NO_ERROR; ctx->ShareGroupReset = false; ctx->VertexProgram._VaryingInputs = VERT_BIT_ALL; - ctx->IntelBlackholeRender = env_var_as_boolean("INTEL_BLACKHOLE_DEFAULT", false); + ctx->IntelBlackholeRender = debug_get_bool_option("INTEL_BLACKHOLE_DEFAULT", false); return GL_TRUE; } |