mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
i915g: silence a const pointer warning
This commit is contained in:
parent
f9a498d1bc
commit
a5ca29100b
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue