From 1c5a45eafe7dae6db88484540edcdc17c39a0ee6 Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Tue, 13 Jan 2004 01:07:28 +0000 Subject: init an uninitialized variable. This doesn't fix a latent bug because the variable was multiplied by zero. --- src/mesa/main/varray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- cgit v1.2.3