projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb7a55
)
init an uninitialized variable. This doesn't fix a latent bug because
author
Karl Schultz
<kschultz@freedesktop.org>
Tue, 13 Jan 2004 01:07:28 +0000
(
01:07
+0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Tue, 13 Jan 2004 01:07:28 +0000
(
01:07
+0000)
the variable was multiplied by zero.
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index dc6cb39adc7b99863152635454d26acb10789063..c9896ae3ca642e702df89594fa6e80b2367c85ff 100644
(file)
--- 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 );