diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_state.c b/src/gallium/drivers/nv30/nv30_state.c index 25755ba471d..046ba723dae 100644 --- a/src/gallium/drivers/nv30/nv30_state.c +++ b/src/gallium/drivers/nv30/nv30_state.c @@ -324,7 +324,7 @@ nv30_set_constant_buffer(struct pipe_context *pipe, uint shader, uint index, unsigned size; if (cb && cb->user_buffer) { - buf = nouveau_user_buffer_create(pipe->screen, cb->user_buffer, + buf = nouveau_user_buffer_create(pipe->screen, (void*)cb->user_buffer, cb->buffer_size, PIPE_BIND_CONSTANT_BUFFER); } |