From ef6967ddc201be6c400701703dd0774570d5bfee Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 8 Nov 2010 11:55:30 -0800 Subject: [PATCH] graw: Add struct pipe_surface forward declaration. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(). * -- 2.30.2