diff options
author | Brian Paul <[email protected]> | 2012-08-04 08:30:15 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-08-04 08:38:11 -0600 |
commit | a5ca29100bd64f47e24ad1bd8ae04f0007021541 (patch) | |
tree | a3a72458a1066fc7aff5b546b2714ec87c4c5392 /src/gallium | |
parent | f9a498d1bc71f26e786d91c002759c5bce11338b (diff) |
i915g: silence a const pointer warning
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/i915/i915_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c index f4b5d6f37b7..c5ec0c6c076 100644 --- 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); } |