diff options
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c index 0ee6c0eb89d..90427dca963 100644 --- a/src/gallium/drivers/i915/i915_context.c +++ b/src/gallium/drivers/i915/i915_context.c @@ -71,7 +71,7 @@ i915_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info) const void *buf = i915->vertex_buffers[i].user_buffer; if (!buf) buf = i915_buffer(i915->vertex_buffers[i].buffer)->data; - draw_set_mapped_vertex_buffer(draw, i, buf); + draw_set_mapped_vertex_buffer(draw, i, buf, ~0); } /* @@ -106,7 +106,7 @@ i915_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info) * unmap vertex/index buffers */ for (i = 0; i < i915->nr_vertex_buffers; i++) { - draw_set_mapped_vertex_buffer(i915->draw, i, NULL); + draw_set_mapped_vertex_buffer(i915->draw, i, NULL, 0); } if (mapped_indices) draw_set_indexes(draw, NULL, 0); |