Mesa (master): mesa: freshen comments for update_array()
Brian Paul
brianp at kemper.freedesktop.org
Thu May 21 22:12:24 UTC 2009
Module: Mesa
Branch: master
Commit: 54a5ffbfa1f935c46642a9835f08983cc1fdfeed
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54a5ffbfa1f935c46642a9835f08983cc1fdfeed
Author: Brian Paul <brianp at vmware.com>
Date: Thu May 21 16:05:11 2009 -0600
mesa: freshen comments for update_array()
---
src/mesa/main/varray.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index ea11857..6bf3c48 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
More information about the mesa-commit
mailing list