svga: Pass-through max_index to translate.
This commit is contained in:
parent
2a30d3d74a
commit
7fd9e3cfb0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue