diff options
-rw-r--r-- | src/mesa/main/attrib.c | 12 | ||||
-rw-r--r-- | 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 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 |