diff options
author | Brian Paul <[email protected]> | 2009-10-15 15:25:52 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-16 13:07:43 -0600 |
commit | 2ee7fd8d584abf051c552f455aeb588e2936b0ea (patch) | |
tree | ddd143b06e4d927e2ca905aeeac9253e19cdf563 /src/mesa/main | |
parent | fc8a156cfc539b9c04dc3527e4fc61cb4b0b688e (diff) |
mesa: added MESA_GLSL=useprog debug flag
This logs glUseProgram() calls to stderr.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 988bfe1e228..b77dcdb7309 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 */ /** |