summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-04-13 15:57:29 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-04-13 15:57:29 +0000
commitad38681a00fc13449b76c2bf1fde0d31b0f9aec8 (patch)
tree22d87554ca4063fe700036091c9c7a4fb88bf617
parent56e0ee8efee74e01ece3dae1c5a92d31a2fdd8de (diff)
Set array normalization flag for normals, colors (Keith)
-rw-r--r--src/mesa/main/varray.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 9f8dc766c9..87d9660b7e 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -167,7 +167,7 @@ _mesa_NormalPointer(GLenum type, GLsizei stride, const GLvoid *ptr )
}
update_array(ctx, &ctx->Array.Normal, _NEW_ARRAY_NORMAL,
- elementSize, 3, type, stride, GL_FALSE, ptr);
+ elementSize, 3, type, stride, GL_TRUE, ptr);
if (ctx->Driver.NormalPointer)
ctx->Driver.NormalPointer( ctx, type, stride, ptr );
@@ -225,7 +225,7 @@ _mesa_ColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr)
}
update_array(ctx, &ctx->Array.Color, _NEW_ARRAY_COLOR0,
- elementSize, size, type, stride, GL_FALSE, ptr);
+ elementSize, size, type, stride, GL_TRUE, ptr);
if (ctx->Driver.ColorPointer)
ctx->Driver.ColorPointer( ctx, size, type, stride, ptr );
@@ -357,7 +357,7 @@ _mesa_SecondaryColorPointerEXT(GLint size, GLenum type,
}
update_array(ctx, &ctx->Array.SecondaryColor, _NEW_ARRAY_COLOR1,
- elementSize, size, type, stride, GL_FALSE, ptr);
+ elementSize, size, type, stride, GL_TRUE, ptr);
if (ctx->Driver.SecondaryColorPointer)
ctx->Driver.SecondaryColorPointer( ctx, size, type, stride, ptr );