mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
mesa: Initial size for secondary color array is 3
See table 6.7 on page 347 of the OpenGL 3.0 specification.
(cherry picked from commit 09e15ac76a)
This commit is contained in:
parent
2eb4816939
commit
d72c16a0d3
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ _mesa_initialize_array_object( GLcontext *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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue