diff options
author | Ian Romanick <[email protected]> | 2011-01-31 13:46:16 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-01-31 15:32:55 -0800 |
commit | 09e15ac76a6efb17148467671508f171658765d9 (patch) | |
tree | 13582d48e6cb112fa5945171f1d7b30873362725 /src/mesa | |
parent | 7fb722c35c2d2cb74b14417a8ddc0684ed6dd838 (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/mesa')
-rw-r--r-- | src/mesa/main/arrayobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c index 9e9728c2c62..46010223370 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++) { |