On 09/20/2014 07:41 PM, Matt Turner wrote: > On Sat, Sep 20, 2014 at 6:40 PM, Chris Forbes <chr...@ijw.co.nz> wrote: >> diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c >> index 79d2e94..c11ad4f 100644 >> --- a/src/mesa/main/shaderapi.c >> +++ b/src/mesa/main/shaderapi.c >> @@ -105,6 +105,7 @@ _mesa_get_shader_flags(void) >> void >> _mesa_init_shader_state(struct gl_context *ctx) >> { >> + int i; > > In context, this declaration looks odd. Move it below the two just > after this hunk?
Not in core Mesa where we have to do dumb ol' C89. :( >> /* Device drivers may override these to control what kind of instructions >> * are generated by the GLSL compiler. >> */ > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev