summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-07 13:36:20 -0600
committerBrian Paul <[email protected]>2009-05-07 14:34:09 -0600
commit9bb6684799f00fabc313ee50be671454e498d8a9 (patch)
tree337c1810a8fde05dd9a893d1c6f910d7eb0c374b /src/mesa
parent4f6b704f9796775d8d9937c3cf75a2901b99b896 (diff)
mesa: array object comments
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 3debbe9f2de..b24366d0fe3 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1557,6 +1557,8 @@ struct gl_array_object
/** Name of the array object as received from glGenVertexArrayAPPLE. */
GLuint Name;
+ /** XXX Need a refcount here */
+
/** Conventional vertex arrays */
/*@{*/
struct gl_client_array Vertex;
@@ -1583,7 +1585,10 @@ struct gl_array_object
*/
struct gl_array_attrib
{
+ /** Currently bound array object. See _mesa_BindVertexArrayAPPLE() */
struct gl_array_object *ArrayObj;
+
+ /** The default vertex array object */
struct gl_array_object *DefaultArrayObj;
GLint ActiveTexture; /**< Client Active Texture */