summaryrefslogtreecommitdiffstats
path: root/src/gallium
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
parentb48676672592271597d07e5ece79cf4d3ffbe04b (diff)
[g3dvl] make resource_format param const
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/vl/vl_context.c2
-rw-r--r--src/gallium/include/pipe/p_video_context.h2
2 files changed, 2 insertions, 2 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)
{
diff --git a/src/gallium/include/pipe/p_video_context.h b/src/gallium/include/pipe/p_video_context.h
index 22203b66d6f..81fc2812249 100644
--- a/src/gallium/include/pipe/p_video_context.h
+++ b/src/gallium/include/pipe/p_video_context.h
@@ -121,7 +121,7 @@ struct pipe_video_context
*/
struct pipe_video_buffer *(*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);