summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_split_copy.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-23 16:40:27 -0700
committerBrian Paul <[email protected]>2009-01-23 16:41:15 -0700
commitded949ed06e02ef26b1168b101daba04be78155e (patch)
tree7a0054b552b66561caa464a287d8dd9feb342f63 /src/mesa/vbo/vbo_split_copy.c
parente57e39896049a045751201e912779872026fc741 (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_split_copy.c')
-rw-r--r--src/mesa/vbo/vbo_split_copy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_split_copy.c b/src/mesa/vbo/vbo_split_copy.c
index 685cc0fdf6e..5fb66d3318f 100644
--- a/src/mesa/vbo/vbo_split_copy.c
+++ b/src/mesa/vbo/vbo_split_copy.c
@@ -461,6 +461,7 @@ static void replay_init( struct copy_context *copy )
dst->Size = src->Size;
dst->Type = src->Type;
+ dst->Format = GL_RGBA;
dst->Stride = copy->vertex_size;
dst->StrideB = copy->vertex_size;
dst->Ptr = copy->dstbuf + offset;