summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-27 22:01:40 -0700
committerBrian Paul <[email protected]>2009-02-28 09:35:15 -0700
commit7f25d9ebb4856273c46ea4bbba4152b85f610a91 (patch)
tree2b43f5cbf95886cdf523dfd27d7c2430bba79e4b /src/mesa/main
parent55399c29511a47bd52c39862a246f29e6f35c3cf (diff)
mesa: move gl_attrib_node struct to attrib.c too
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/attrib.c12
-rw-r--r--src/mesa/main/mtypes.h12
2 files changed, 13 insertions, 11 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index baad214263f..de279177091 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 a758c12d6f9..315295b5b33 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