diff options
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index b7e87284e30..0edd66d6f9e 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -645,6 +645,12 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api) consts->GLSLVersion = 120; _mesa_override_glsl_version(consts); +#ifdef DEBUG + consts->GenerateTemporaryNames = true; +#else + consts->GenerateTemporaryNames = false; +#endif + /* GL_ARB_framebuffer_object */ consts->MaxSamples = 0; |