diff options
-rw-r--r-- | src/gallium/drivers/i915/i915_prim_vbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_prim_vbuf.c b/src/gallium/drivers/i915/i915_prim_vbuf.c index 07546c03b2..6b832140a8 100644 --- a/src/gallium/drivers/i915/i915_prim_vbuf.c +++ b/src/gallium/drivers/i915/i915_prim_vbuf.c @@ -257,7 +257,7 @@ i915_vbuf_render_unmap_vertices(struct vbuf_render *render, iws->buffer_write(iws, i915_render->vbo, i915_render->map_used_start + i915_render->vbo_offset, i915_render->map_used_end - i915_render->map_used_start, - i915_render->vbo_ptr + i915_render->map_used_start); + (unsigned char *)i915_render->vbo_ptr + i915_render->map_used_start); #endif } |