From: Vinson Lee Date: Mon, 8 Nov 2010 19:55:30 +0000 (-0800) Subject: graw: Add struct pipe_surface forward declaration. X-Git-Tag: mesa-7.10~722 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef6967ddc201be6c400701703dd0774570d5bfee;p=platform%2Fupstream%2Fmesa.git 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 --- diff --git a/src/gallium/include/state_tracker/graw.h b/src/gallium/include/state_tracker/graw.h index 8da197f..217fa31 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(). *