svga: Pass-through max_index to translate.

This commit is contained in:
José Fonseca 2010-04-26 14:55:45 +01:00
parent 2a30d3d74a
commit 7fd9e3cfb0
1 changed files with 1 additions and 1 deletions

View 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);