diff options
author | Brian Paul <[email protected]> | 2009-01-23 16:40:27 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-23 16:41:15 -0700 |
commit | ded949ed06e02ef26b1168b101daba04be78155e (patch) | |
tree | 7a0054b552b66561caa464a287d8dd9feb342f63 /src/mesa/vbo/vbo_exec_draw.c | |
parent | e57e39896049a045751201e912779872026fc741 (diff) |
mesa: set the new array->Format field in VBO code
Should help to solve failed assertion in i965 driver (see bug 19708)
Diffstat (limited to 'src/mesa/vbo/vbo_exec_draw.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c index 92356ba9773..5b2e3550ca8 100644 --- a/src/mesa/vbo/vbo_exec_draw.c +++ b/src/mesa/vbo/vbo_exec_draw.c @@ -204,6 +204,7 @@ static void vbo_exec_bind_arrays( GLcontext *ctx ) arrays[attr].StrideB = exec->vtx.vertex_size * sizeof(GLfloat); arrays[attr].Stride = exec->vtx.vertex_size * sizeof(GLfloat); arrays[attr].Type = GL_FLOAT; + arrays[attr].Format = GL_RGBA; arrays[attr].Enabled = 1; _mesa_reference_buffer_object(ctx, &arrays[attr].BufferObj, |