diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/svga/svga_draw_arrays.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_draw_elements.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_draw_arrays.c b/src/gallium/drivers/svga/svga_draw_arrays.c index 5f03483390f..89a5dc1da77 100644 --- a/src/gallium/drivers/svga/svga_draw_arrays.c +++ b/src/gallium/drivers/svga/svga_draw_arrays.c @@ -58,7 +58,7 @@ generate_indices(struct svga_hwtnl *hwtnl, if (dst_map == NULL) goto fail; - generate(nr, dst_map); + generate(0, nr, dst_map); pipe_buffer_unmap(pipe, transfer); diff --git a/src/gallium/drivers/svga/svga_draw_elements.c b/src/gallium/drivers/svga/svga_draw_elements.c index b68dad0c3bb..fb5f1c91b29 100644 --- a/src/gallium/drivers/svga/svga_draw_elements.c +++ b/src/gallium/drivers/svga/svga_draw_elements.c @@ -61,7 +61,7 @@ translate_indices(struct svga_hwtnl *hwtnl, struct pipe_resource *src, if (dst_map == NULL) goto fail; - translate((const char *) src_map + offset, nr, dst_map); + translate((const char *) src_map + offset, 0, nr, dst_map); pipe_buffer_unmap(pipe, src_transfer); pipe_buffer_unmap(pipe, dst_transfer); |