Mesa (master): gallium: remove forward struct decl
Brian Paul
brianp at kemper.freedesktop.org
Thu Jan 14 00:40:40 UTC 2010
Module: Mesa
Branch: master
Commit: 8519b244f7efe996c6791f7caf2dddee0b020562
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8519b244f7efe996c6791f7caf2dddee0b020562
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jan 13 16:46:53 2010 -0700
gallium: remove forward struct decl
Other struct types (like pipe_texture) are referenced before they're
defined so no reason to special-case this one.
---
src/gallium/include/pipe/p_state.h | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index 60e96b9..66d6cfa 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -66,10 +66,6 @@ extern "C" {
#define PIPE_MAX_TEXTURE_LEVELS 16
-/* fwd decls */
-struct pipe_surface;
-
-
/**
* The driver will certainly subclass this to include actual memory
* management information.
More information about the mesa-commit
mailing list