Mesa (master): mesa: move gl_attrib_node struct to attrib.c too

Brian Paul brianp at kemper.freedesktop.org
Sat Feb 28 16:43:06 UTC 2009


Module: Mesa
Branch: master
Commit: 7f25d9ebb4856273c46ea4bbba4152b85f610a91
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7f25d9ebb4856273c46ea4bbba4152b85f610a91

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Feb 27 22:01:40 2009 -0700

mesa: move gl_attrib_node struct to attrib.c too

---

 src/mesa/main/attrib.c |   12 ++++++++++++
 src/mesa/main/mtypes.h |   12 +-----------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index baad214..de27917 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -143,6 +143,18 @@ struct gl_enable_attrib
 
 
 /**
+ * Node for the attribute stack.
+ */
+struct gl_attrib_node
+{
+   GLbitfield kind;
+   void *data;
+   struct gl_attrib_node *next;
+};
+
+
+
+/**
  * Special struct for saving/restoring texture state (GL_TEXTURE_BIT)
  */
 struct texture_state
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index a758c12..315295b 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -115,6 +115,7 @@ typedef int GLfixed;
  */
 /*@{*/
 struct _mesa_HashTable;
+struct gl_attrib_node;
 struct gl_pixelstore_attrib;
 struct gl_program_cache;
 struct gl_texture_format;
@@ -1517,17 +1518,6 @@ struct gl_viewport_attrib
 
 
 /**
- * Node for the attribute stack.
- */
-struct gl_attrib_node
-{
-   GLbitfield kind;
-   void *data;
-   struct gl_attrib_node *next;
-};
-
-
-/**
  * GL_ARB_vertex/pixel_buffer_object buffer object
  */
 struct gl_buffer_object




More information about the mesa-commit mailing list