diff options
author | Brian Paul <[email protected]> | 2010-11-23 10:28:43 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-11-23 15:52:43 -0700 |
commit | c628fd743ee3c3305e9beac7f0e6efacf6982115 (patch) | |
tree | 873ae98daf0b76c1778e0c10da0226ca91bff089 /src/mesa/main/context.c | |
parent | 512f840702d58b48607a9dca06dd939256c7afed (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 4ed179a834c..e2c91c3e400 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; |