diff options
author | Roland Scheidegger <[email protected]> | 2010-01-11 16:30:48 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-01-11 16:30:48 +0100 |
commit | 70c8d2a29724d018bacc4a68ddc61db08faea00d (patch) | |
tree | 5917e7143b91a9e6ed00e6c8afb7cc577aace41b /src/gallium/drivers/softpipe | |
parent | 1278507e3bf2e83c7027820a0d313de267a440ff (diff) |
gallium: remove const qualifier from pipe_buffer argument in set_constant_buffer
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_fs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state.h b/src/gallium/drivers/softpipe/sp_state.h index 1169520b445..c41e7184880 100644 --- a/src/gallium/drivers/softpipe/sp_state.h +++ b/src/gallium/drivers/softpipe/sp_state.h @@ -133,7 +133,7 @@ void softpipe_set_clip_state( struct pipe_context *, void softpipe_set_constant_buffer(struct pipe_context *, uint shader, uint index, - const struct pipe_buffer *buf); + struct pipe_buffer *buf); void *softpipe_create_fs_state(struct pipe_context *, const struct pipe_shader_state *); diff --git a/src/gallium/drivers/softpipe/sp_state_fs.c b/src/gallium/drivers/softpipe/sp_state_fs.c index fa85946c6a8..eba0563c62c 100644 --- a/src/gallium/drivers/softpipe/sp_state_fs.c +++ b/src/gallium/drivers/softpipe/sp_state_fs.c @@ -152,7 +152,7 @@ softpipe_delete_vs_state(struct pipe_context *pipe, void *vs) void softpipe_set_constant_buffer(struct pipe_context *pipe, uint shader, uint index, - const struct pipe_buffer *buf) + struct pipe_buffer *buf) { struct softpipe_context *softpipe = softpipe_context(pipe); |