projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d6e908
)
llvmpipe: add cast to silence warning
author
Brian Paul
<brianp@vmware.com>
Fri, 11 May 2012 22:16:11 +0000
(16:16 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 11 May 2012 22:16:11 +0000
(16:16 -0600)
src/gallium/drivers/llvmpipe/lp_state_fs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 2d2391e908c5ec98e2d876245ffec6734a710c04..d16952c2ec14e9286aeb6f7eb32e2fdc66b85150 100644
(file)
--- 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);
}