diff options
author | Marek Olšák <[email protected]> | 2012-10-09 14:34:27 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-09 14:34:27 +0200 |
commit | 51872e8bb3a83a6eaa7f3bdc621372fa88efaaf2 (patch) | |
tree | 39fd732590457581661477d67f0205b751ac5386 /src/gallium/drivers | |
parent | cf9081b37cbfaa4f1cdcb1b53dd44bb2a688bfb2 (diff) |
nv30: fix type conversion warning
Diffstat (limited to 'src/gallium/drivers')
-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); } |