summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-11-23 10:28:43 -0700
committerBrian Paul <brianp@vmware.com>2010-11-23 15:52:43 -0700
commitc628fd743ee3c3305e9beac7f0e6efacf6982115 (patch)
tree873ae98daf0b76c1778e0c10da0226ca91bff089 /src/mesa/main/context.c
parent512f840702d58b48607a9dca06dd939256c7afed (diff)
mesa: replace #defines with new gl_shader_type enum
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 4ed179a834..e2c91c3e40 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1829,7 +1829,7 @@ _mesa_valid_to_render(struct gl_context *ctx, const char *where)
#ifdef DEBUG
if (ctx->Shader.Flags & GLSL_LOG) {
struct gl_shader_program *shProg[MESA_SHADER_TYPES];
- unsigned i;
+ gl_shader_type i;
shProg[MESA_SHADER_VERTEX] = ctx->Shader.CurrentVertexProgram;
shProg[MESA_SHADER_GEOMETRY] = ctx->Shader.CurrentGeometryProgram;