Mesa (master): svga: Fix call to translate::run().

Michał Król michal at kemper.freedesktop.org
Thu Jan 14 09:56:09 PST 2010


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

Author: Michal Krol <michal at vmware.com>
Date:   Wed Jan 13 11:13:00 2010 +0100

svga: Fix call to translate::run().

---

 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 c614281..2313eaf 100644
--- a/src/gallium/drivers/svga/svga_state_vs.c
+++ b/src/gallium/drivers/svga/svga_state_vs.c
@@ -227,7 +227,7 @@ static int update_zero_stride( struct svga_context *svga,
          translate->set_buffer(translate, vel->vertex_buffer_index,
                                mapped_buffer,
                                vbuffer->stride);
-         translate->run(translate, 0, 1,
+         translate->run(translate, 0, 1, 0,
                         svga->curr.zero_stride_constants);
 
          pipe_buffer_unmap(svga->pipe.screen,



More information about the mesa-commit mailing list