summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw_upload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c
index b15c05a7ad1..6ea877bfbc4 100644
--- a/src/mesa/drivers/dri/i965/brw_draw_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_draw_upload.c
@@ -454,6 +454,7 @@ static void brw_prepare_vertices(struct brw_context *brw)
upload[i], &brw->vb.buffers[j],
upload[i]->element_size);
upload[i]->buffer = j++;
+ upload[i]->offset = 0;
}
/* can we simply extend the current vb? */