projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9a498d
)
i915g: silence a const pointer warning
author
Brian Paul
<brianp@vmware.com>
Sat, 4 Aug 2012 14:30:15 +0000
(08:30 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 4 Aug 2012 14:38:11 +0000
(08:38 -0600)
src/gallium/drivers/i915/i915_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915/i915_state.c
b/src/gallium/drivers/i915/i915_state.c
index f4b5d6f37b759e40b8c61180c452a5b4f7535dd7..c5ec0c6c076325676b2f4305fabaa6bd72acb0fe 100644
(file)
--- a/
src/gallium/drivers/i915/i915_state.c
+++ b/
src/gallium/drivers/i915/i915_state.c
@@
-677,7
+677,7
@@
static void i915_set_constant_buffer(struct pipe_context *pipe,
return;
if (cb && cb->user_buffer) {
- buf = i915_user_buffer_create(pipe->screen, cb->user_buffer,
+ buf = i915_user_buffer_create(pipe->screen,
(void *)
cb->user_buffer,
cb->buffer_size,
PIPE_BIND_CONSTANT_BUFFER);
}