summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-11-08 11:55:30 -0800
committerVinson Lee <[email protected]>2010-11-08 11:55:30 -0800
commitef6967ddc201be6c400701703dd0774570d5bfee (patch)
tree13e9cd4eb1bde058e838c6a26e34c1b94df24403
parentd8eef5196fcd6f51e443d4dfa0fda8aadc668f9f (diff)
graw: Add struct pipe_surface forward declaration.snb-magic
Fixes this GCC warning. graw.h:93: warning: 'struct pipe_surface' declared inside parameter list graw.h:93: warning: its scope is only this definition or declaration, which is probably not what you want
-rw-r--r--src/gallium/include/state_tracker/graw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/state_tracker/graw.h b/src/gallium/include/state_tracker/graw.h
index 8da197f68bf..217fa31ba19 100644
--- a/src/gallium/include/state_tracker/graw.h
+++ b/src/gallium/include/state_tracker/graw.h
@@ -44,8 +44,9 @@
#include "pipe/p_compiler.h"
#include "pipe/p_format.h"
-struct pipe_screen;
struct pipe_context;
+struct pipe_screen;
+struct pipe_surface;
/* Returns a handle to be used with flush_frontbuffer()/present().
*