summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-21 15:55:33 -0600
committerBrian Paul <[email protected]>2009-05-21 16:10:45 -0600
commita554d7c4d87902833382cb67bd8a282d5c500c6d (patch)
tree1edc42000e1ab0b7385e9d2b17e77a377d7aecf9
parent8fe3134622eed34159ff6f72a33558a659e8d299 (diff)
mesa: VertexAttribPointer comments
-rw-r--r--src/mesa/main/varray.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index ac305389250..7879e0079b8 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -518,6 +518,12 @@ _mesa_PointSizePointer(GLenum type, GLsizei stride, const GLvoid *ptr)
#if FEATURE_NV_vertex_program
+/**
+ * Set a vertex attribute array.
+ * Note that these arrays DO alias the conventional GL vertex arrays
+ * (position, normal, color, fog, texcoord, etc).
+ * The generic attribute slots at #16 and above are not touched.
+ */
void GLAPIENTRY
_mesa_VertexAttribPointerNV(GLuint index, GLint size, GLenum type,
GLsizei stride, const GLvoid *ptr)
@@ -578,6 +584,11 @@ _mesa_VertexAttribPointerNV(GLuint index, GLint size, GLenum type,
#if FEATURE_ARB_vertex_program
+/**
+ * Set a generic vertex attribute array.
+ * Note that these arrays DO NOT alias the conventional GL vertex arrays
+ * (position, normal, color, fog, texcoord, etc).
+ */
void GLAPIENTRY
_mesa_VertexAttribPointerARB(GLuint index, GLint size, GLenum type,
GLboolean normalized,