diff options
author | Brian Paul <[email protected]> | 2011-07-14 08:09:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-07-14 08:14:14 -0600 |
commit | a5a942256162eb0ca4df2f8202a916b080396141 (patch) | |
tree | 283b1b84294178bb7f476fc2170f91eee424992c /src/gallium/auxiliary | |
parent | 9726947b681225a5a438eaa7cb70c5fa36ce85ea (diff) |
gallium: put video-related enums in separate header
The forward references to video enum types in p_context.h causes
a massive number of compiler warnings (ISO C forbids forward references
to ‘enum’ types).
By putting the new video enums in a separate header that can be included
by p_context.h and p_screen.h we can avoid this.
Acked-by Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_video.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_video.h b/src/gallium/auxiliary/util/u_video.h index 46da1361004..6b67881e648 100644 --- a/src/gallium/auxiliary/util/u_video.h +++ b/src/gallium/auxiliary/util/u_video.h @@ -33,6 +33,7 @@ extern "C" { #endif #include <pipe/p_defines.h> +#include <pipe/p_video_enums.h> /* u_reduce_video_profile() needs these */ #include <pipe/p_compiler.h> |