summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-10-15 15:25:52 -0600
committerBrian Paul <brianp@vmware.com>2009-10-16 13:07:43 -0600
commit2ee7fd8d584abf051c552f455aeb588e2936b0ea (patch)
treeddd143b06e4d927e2ca905aeeac9253e19cdf563 /src/mesa/main/mtypes.h
parentfc8a156cfc539b9c04dc3527e4fc61cb4b0b688e (diff)
mesa: added MESA_GLSL=useprog debug flag
This logs glUseProgram() calls to stderr.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 988bfe1e22..b77dcdb730 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2046,6 +2046,7 @@ struct gl_shader_program
#define GLSL_UNIFORMS 0x10 /**< Print glUniform calls */
#define GLSL_NOP_VERT 0x20 /**< Force no-op vertex shaders */
#define GLSL_NOP_FRAG 0x40 /**< Force no-op fragment shaders */
+#define GLSL_USE_PROG 0x80 /**< Log glUseProgram calls */
/**