projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8eef51
)
graw: Add struct pipe_surface forward declaration.
author
Vinson Lee
<vlee@vmware.com>
Mon, 8 Nov 2010 19:55:30 +0000
(11:55 -0800)
committer
Vinson 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
patch
|
blob
|
history
diff --git
a/src/gallium/include/state_tracker/graw.h
b/src/gallium/include/state_tracker/graw.h
index 8da197f68bf96d2de773086ba16278d56f1b5887..217fa31ba198d16c265bd4c776ad34d3b3619331 100644
(file)
--- 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().
*