summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-01-11 16:30:48 +0100
committerRoland Scheidegger <[email protected]>2010-01-11 16:30:48 +0100
commit70c8d2a29724d018bacc4a68ddc61db08faea00d (patch)
tree5917e7143b91a9e6ed00e6c8afb7cc577aace41b /src/gallium/drivers/r300/r300_state.c
parent1278507e3bf2e83c7027820a0d313de267a440ff (diff)
gallium: remove const qualifier from pipe_buffer argument in set_constant_buffer
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index b627895d4c4..541b0abc9c5 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -804,7 +804,7 @@ static void r300_delete_vs_state(struct pipe_context* pipe, void* shader)
static void r300_set_constant_buffer(struct pipe_context *pipe,
uint shader, uint index,
- const struct pipe_buffer *buf)
+ struct pipe_buffer *buf)
{
struct r300_context* r300 = r300_context(pipe);
void *mapped;