diff options
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c b/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c index 8a7d0f4a338..e6274d45cf4 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c @@ -346,7 +346,7 @@ vbo_bind_vertices(struct gl_context *ctx, const struct tnl_vertex_array *arrays, sp = (char *)ADD_POINTERS( nouveau_bufferobj_sys(obj), p) + delta; } else { - sp = p + delta; + sp = (char *)(p + delta); } char *dp = nouveau_get_scratch(ctx, n * a->stride, &bo[i], &offset[i]); |