summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-21 16:05:11 -0600
committerBrian Paul <[email protected]>2009-05-21 16:10:45 -0600
commit54a5ffbfa1f935c46642a9835f08983cc1fdfeed (patch)
treefd967e8ae77f8231b0daae7b2db7073d9fac9ce1
parent667a4037fac4fd154ebfa7513b3bbba935077241 (diff)
mesa: freshen comments for update_array()
-rw-r--r--src/mesa/main/varray.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index ea11857a98d..6bf3c485c73 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -37,15 +37,14 @@
/**
- * Update the fields of a vertex array object.
- * We need to do a few special things for arrays that live in
- * vertex buffer objects.
+ * Set the fields of a vertex array.
*
* \param array the array to update
* \param dirtyBit which bit to set in ctx->Array.NewState for this array
* \param elementSize size of each array element, in bytes
* \param size components per element (1, 2, 3 or 4)
* \param type datatype of each component (GL_FLOAT, GL_INT, etc)
+ * \param format either GL_RGBA or GL_BGRA
* \param stride stride between elements, in elements
* \param normalized are integer types converted to floats in [-1, 1]?
* \param ptr the address (or offset inside VBO) of the array data