summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-01-31 13:46:16 -0800
committerIan Romanick <ian.d.romanick@intel.com>2011-01-31 15:32:55 -0800
commit09e15ac76a6efb17148467671508f171658765d9 (patch)
tree13582d48e6cb112fa5945171f1d7b30873362725 /src
parent7fb722c35c2d2cb74b14417a8ddc0684ed6dd838 (diff)
mesa: Initial size for secondary color array is 3
See table 6.7 on page 347 of the OpenGL 3.0 specification.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/arrayobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 9e9728c2c6..4601022337 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -234,7 +234,7 @@ _mesa_initialize_array_object( struct gl_context *ctx,
init_array(ctx, &obj->Weight, 1, GL_FLOAT);
init_array(ctx, &obj->Normal, 3, GL_FLOAT);
init_array(ctx, &obj->Color, 4, GL_FLOAT);
- init_array(ctx, &obj->SecondaryColor, 4, GL_FLOAT);
+ init_array(ctx, &obj->SecondaryColor, 3, GL_FLOAT);
init_array(ctx, &obj->FogCoord, 1, GL_FLOAT);
init_array(ctx, &obj->Index, 1, GL_FLOAT);
for (i = 0; i < Elements(obj->TexCoord); i++) {