diff options
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_swtnl_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_swtnl_draw.c b/src/gallium/drivers/svga/svga_swtnl_draw.c index 850575c14b9..0a049569ff7 100644 --- a/src/gallium/drivers/svga/svga_swtnl_draw.c +++ b/src/gallium/drivers/svga/svga_swtnl_draw.c @@ -84,7 +84,7 @@ svga_swtnl_draw_vbo(struct svga_context *svga, &ib_transfer); draw_set_indexes(draw, (const ubyte *) map + svga->curr.ib.offset, - svga->curr.ib.index_size); + svga->curr.ib.index_size, ~0); } if (svga->curr.cb[PIPE_SHADER_VERTEX]) { @@ -118,7 +118,7 @@ svga_swtnl_draw_vbo(struct svga_context *svga, if (ib_transfer) { pipe_buffer_unmap(&svga->pipe, ib_transfer); - draw_set_indexes(draw, NULL, 0); + draw_set_indexes(draw, NULL, 0, 0); } if (svga->curr.cb[PIPE_SHADER_VERTEX]) { |