summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorRob Clark <robclark@freedesktop.org>2016-06-07 14:29:01 -0400
committerRob Clark <robclark@freedesktop.org>2016-06-20 12:36:20 -0400
commitef534b9389bc74b007d76d2a1776068d23e5b887 (patch)
treeb3e5c3ee0e6eacd537ac846253b824b28b9832f0 /src/gallium/include
parente1c1c40cbcf3eec91bef8b38df8057eac52ce1ab (diff)
downloadexternal_mesa3d-ef534b9389bc74b007d76d2a1776068d23e5b887.zip
external_mesa3d-ef534b9389bc74b007d76d2a1776068d23e5b887.tar.gz
external_mesa3d-ef534b9389bc74b007d76d2a1776068d23e5b887.tar.bz2
gallium: make constant_buffer const
Signed-off-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index 7319835..67ee5cc 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -261,7 +261,7 @@ struct pipe_context {
void (*set_constant_buffer)( struct pipe_context *,
uint shader, uint index,
- struct pipe_constant_buffer *buf );
+ const struct pipe_constant_buffer *buf );
void (*set_framebuffer_state)( struct pipe_context *,
const struct pipe_framebuffer_state * );