svga: Pass-through max_index to translate.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 26 Apr 2010 13:55:45 +0000 (14:55 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 26 Apr 2010 15:05:06 +0000 (16:05 +0100)
src/gallium/drivers/svga/svga_state_vs.c

index a6215c68cbede78c1f876857b22b01665bf8c5a8..5133c70593c1e131c55da8c766399bf0e94540d2 100644 (file)
@@ -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);