src/render/opengl/SDL_shaders_gl.c
changeset 6903 0544fb94e265
parent 6885 700f1b25f77f
child 7191 75360622e65f
     1.1 --- a/src/render/opengl/SDL_shaders_gl.c	Tue Feb 19 05:46:51 2013 -0800
     1.2 +++ b/src/render/opengl/SDL_shaders_gl.c	Tue Feb 19 07:05:15 2013 -0800
     1.3 @@ -244,7 +244,7 @@
     1.4      /* Set up some uniform variables */
     1.5      ctx->glUseProgramObjectARB(data->program);
     1.6      for (i = 0; i < num_tmus_bound; ++i) {
     1.7 -        char tex_name[5];
     1.8 +        char tex_name[10];
     1.9          SDL_snprintf(tex_name, SDL_arraysize(tex_name), "tex%d", i);
    1.10          location = ctx->glGetUniformLocationARB(data->program, tex_name);
    1.11          if (location >= 0) {