summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-26 14:55:45 +0100
committerJosé Fonseca <[email protected]>2010-04-26 16:05:06 +0100
commit7fd9e3cfb0c6c639037d17281159270811f5b357 (patch)
tree9893f5e3481f40781a1d1475d920a3b06fa35ddb
parent2a30d3d74a0b87f8066659952628ccd072a4e2b0 (diff)
svga: Pass-through max_index to translate.
-rw-r--r--src/gallium/drivers/svga/svga_state_vs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_state_vs.c b/src/gallium/drivers/svga/svga_state_vs.c
index a6215c68cbe..5133c70593c 100644
--- a/src/gallium/drivers/svga/svga_state_vs.c
+++ b/src/gallium/drivers/svga/svga_state_vs.c
@@ -229,7 +229,7 @@ static int update_zero_stride( struct svga_context *svga,
translate->set_buffer(translate, vel->vertex_buffer_index,
mapped_buffer,
- vbuffer->stride);
+ vbuffer->stride, vbuffer->max_index);
translate->run(translate, 0, 1, 0,
svga->curr.zero_stride_constants);