From 7fd9e3cfb0c6c639037d17281159270811f5b357 Mon Sep 17 00:00:00 2001
From: José Fonseca <jfonseca@vmware.com>
Date: Mon, 26 Apr 2010 14:55:45 +0100
Subject: svga: Pass-through max_index to translate.

---
 src/gallium/drivers/svga/svga_state_vs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/svga/svga_state_vs.c b/src/gallium/drivers/svga/svga_state_vs.c
index a6215c68cb..5133c70593 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);
 
-- 
cgit v1.2.3