Module: Mesa
Branch: master
Commit: 7fd9e3cfb0c6c639037d17281159270811f5b357
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fd9e3cfb0c6c639037d17281159270811f5b357

Author: José Fonseca <[email protected]>
Date:   Mon Apr 26 14:55:45 2010 +0100

svga: Pass-through max_index to translate.

---

 src/gallium/drivers/svga/svga_state_vs.c |    2 +-
 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 a6215c6..5133c70 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);
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to