diff options
-rw-r--r-- | src/mesa/main/varray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index dc6cb39adc7..c9896ae3ca6 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -754,7 +754,7 @@ _mesa_InterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) /* Texcoords */ coordUnitSave = ctx->Array.ActiveTexture; if (tflag) { - GLuint i; + GLuint i=0; /* enable unit 0 texcoord array */ _mesa_ClientActiveTextureARB( GL_TEXTURE0_ARB ); _mesa_EnableClientState( GL_TEXTURE_COORD_ARRAY ); |