Minor tweaks to help out at a driver level.
[mesa.git] / src / mesa / main / varray.c
index dc6cb39adc7b99863152635454d26acb10789063..c9896ae3ca642e702df89594fa6e80b2367c85ff 100644 (file)
@@ -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 );