diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-09-17 16:06:49 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-09-17 16:06:49 +0000 |
commit | 57d882b6847128fe5f72575f61a2b2dace7ac46c (patch) | |
tree | 0b8d61a758d856e9521c03e4c38ed72c29cdd3d1 /src/mesa/tnl/t_imm_exec.c | |
parent | 397d1e4d5750bda09e52451cfeb0a69126602a56 (diff) |
GL_ARB_vertex_buffer_object working now, at least for non-indexed
vertex arrays.
Diffstat (limited to 'src/mesa/tnl/t_imm_exec.c')
-rw-r--r-- | src/mesa/tnl/t_imm_exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_imm_exec.c b/src/mesa/tnl/t_imm_exec.c index 85f63dd8fb..14d214e843 100644 --- a/src/mesa/tnl/t_imm_exec.c +++ b/src/mesa/tnl/t_imm_exec.c @@ -538,6 +538,7 @@ void _tnl_imm_init( GLcontext *ctx ) tmp->Color.Stride = 0; tmp->Color.StrideB = 4 * sizeof(GLfloat); tmp->Color.Flags = 0; + tmp->Color.BufferObj = ctx->Array.NullBufferObj; tmp->SecondaryColor.Ptr = NULL; tmp->SecondaryColor.Type = GL_FLOAT; @@ -545,6 +546,7 @@ void _tnl_imm_init( GLcontext *ctx ) tmp->SecondaryColor.Stride = 0; tmp->SecondaryColor.StrideB = 4 * sizeof(GLfloat); tmp->SecondaryColor.Flags = 0; + tmp->SecondaryColor.BufferObj = ctx->Array.NullBufferObj; _mesa_vector4f_init( &tmp->FogCoord, 0, 0 ); _mesa_vector1ui_init( &tmp->Index, 0, 0 ); |