diff options
author | Rob Clark <[email protected]> | 2016-06-07 14:29:01 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-06-20 12:36:20 -0400 |
commit | ef534b9389bc74b007d76d2a1776068d23e5b887 (patch) | |
tree | b3e5c3ee0e6eacd537ac846253b824b28b9832f0 /src/gallium/drivers/virgl/virgl_context.c | |
parent | e1c1c40cbcf3eec91bef8b38df8057eac52ce1ab (diff) |
gallium: make constant_buffer const
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_context.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_context.c b/src/gallium/drivers/virgl/virgl_context.c index d2d161722e1..27e85a82842 100644 --- a/src/gallium/drivers/virgl/virgl_context.c +++ b/src/gallium/drivers/virgl/virgl_context.c @@ -426,7 +426,7 @@ static void virgl_hw_set_index_buffer(struct pipe_context *ctx, static void virgl_set_constant_buffer(struct pipe_context *ctx, uint shader, uint index, - struct pipe_constant_buffer *buf) + const struct pipe_constant_buffer *buf) { struct virgl_context *vctx = virgl_context(ctx); |