projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cef881
)
initialize attribute vectors to 4 components
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 7 Apr 2003 23:07:50 +0000
(23:07 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 7 Apr 2003 23:07:50 +0000
(23:07 +0000)
src/mesa/tnl/t_vb_program.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vb_program.c
b/src/mesa/tnl/t_vb_program.c
index 9b1cbf76399b93eadd4218f6079e7c67a15ad834..4b1d2ff00e2987183919d354434b0135d4ac6224 100644
(file)
--- a/
src/mesa/tnl/t_vb_program.c
+++ b/
src/mesa/tnl/t_vb_program.c
@@
-333,8
+333,10
@@
static GLboolean run_init_vp( GLcontext *ctx,
return GL_FALSE;
/* Allocate arrays of vertex output values */
- for (i = 0; i < 15; i++)
+ for (i = 0; i < 15; i++)
{
_mesa_vector4f_alloc( &store->attribs[i], 0, size, 32 );
+ store->attribs[i].size = 4;
+ }
/* Make the color0[] and color1[] arrays point into the attribs[] arrays */
init_color_array( &store->color0[0], &store->attribs[VERT_RESULT_COL0] );