summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_context.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-04-12 20:45:31 +0200
committerChristian König <[email protected]>2011-04-12 20:45:31 +0200
commit3745025b28aa6142e7465f2af1387aebc99b5a70 (patch)
tree644ac10a1b2e29ce098c69400a63c62d0b02a815 /src/gallium/auxiliary/vl/vl_context.c
parentb48676672592271597d07e5ece79cf4d3ffbe04b (diff)
[g3dvl] make resource_format param const
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_context.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_context.c b/src/gallium/auxiliary/vl/vl_context.c
index ba732548732..49a9b50863c 100644
--- a/src/gallium/auxiliary/vl/vl_context.c
+++ b/src/gallium/auxiliary/vl/vl_context.c
@@ -199,7 +199,7 @@ vl_context_create_decoder(struct pipe_video_context *context,
static struct pipe_video_buffer *
vl_context_create_buffer(struct pipe_video_context *context,
enum pipe_format buffer_format,
- enum pipe_format resource_formats[3],
+ const enum pipe_format resource_formats[3],
enum pipe_video_chroma_format chroma_format,
unsigned width, unsigned height)
{