diff options
author | Brian Paul <[email protected]> | 2012-05-11 16:16:11 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-05-11 16:16:11 -0600 |
commit | 550de24c17fd4873b0200c0d4a61656e184631ac (patch) | |
tree | 5a9469717868883dd0a39a2fd9983b73bbd60616 /src/gallium/drivers | |
parent | 9d6e908f140d0ed2fe8031d0f8084aaf2c3477db (diff) |
llvmpipe: add cast to silence warning
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 2d2391e908c..d16952c2ec1 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -1174,7 +1174,8 @@ llvmpipe_set_constant_buffer(struct pipe_context *pipe, const void *data; if (cb && cb->user_buffer) { - constants = llvmpipe_user_buffer_create(pipe->screen, cb->user_buffer, + constants = llvmpipe_user_buffer_create(pipe->screen, + (void *) cb->user_buffer, cb->buffer_size, PIPE_BIND_CONSTANT_BUFFER); } |