summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
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/include/pipe
parentb48676672592271597d07e5ece79cf4d3ffbe04b (diff)
[g3dvl] make resource_format param const
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_video_context.h2
1 files changed, 1 insertions, 1 deletions
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);