graw: Add struct pipe_surface forward declaration.
authorVinson Lee <vlee@vmware.com>
Mon, 8 Nov 2010 19:55:30 +0000 (11:55 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 8 Nov 2010 19:55:30 +0000 (11:55 -0800)
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

src/gallium/include/state_tracker/graw.h

index 8da197f68bf96d2de773086ba16278d56f1b5887..217fa31ba198d16c265bd4c776ad34d3b3619331 100644 (file)
@@ -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().
  *