From: José Fonseca Date: Mon, 26 Apr 2010 13:55:45 +0000 (+0100) Subject: svga: Pass-through max_index to translate. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fd9e3cfb0c6c639037d17281159270811f5b357;p=mesa.git svga: Pass-through max_index to translate. --- diff --git a/src/gallium/drivers/svga/svga_state_vs.c b/src/gallium/drivers/svga/svga_state_vs.c index a6215c68cbe..5133c70593c 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);