Mesa (master): svga: Pass-through max_index to translate.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon Apr 26 15:06:09 UTC 2010


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

Author: José Fonseca <jfonseca at vmware.com>
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);
 




More information about the mesa-commit mailing list