mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 11:30:21 +01:00
softpipe: cast away const to silence warning
This commit is contained in:
parent
6e588dff57
commit
b5752e16e8
1 changed files with 2 additions and 1 deletions
|
|
@ -350,7 +350,8 @@ softpipe_set_constant_buffer(struct pipe_context *pipe,
|
|||
const void *data;
|
||||
|
||||
if (cb && cb->user_buffer) {
|
||||
constants = softpipe_user_buffer_create(pipe->screen, cb->user_buffer,
|
||||
constants = softpipe_user_buffer_create(pipe->screen,
|
||||
(void *) cb->user_buffer,
|
||||
cb->buffer_size,
|
||||
PIPE_BIND_CONSTANT_BUFFER);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue