From: Brian Paul Date: Sat, 28 Feb 2009 05:01:40 +0000 (-0700) Subject: mesa: move gl_attrib_node struct to attrib.c too X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f25d9ebb4856273c46ea4bbba4152b85f610a91;p=mesa.git mesa: move gl_attrib_node struct to attrib.c too --- 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 @@ -142,6 +142,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) */ 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; @@ -1516,17 +1517,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 */