Mesa (master): vbo: removed unused #defines, add comments

Brian Paul brianp at kemper.freedesktop.org
Tue Feb 22 21:41:46 UTC 2011


Module: Mesa
Branch: master
Commit: bcd017f16fd00723a00a212775e22c55fac2af27
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bcd017f16fd00723a00a212775e22c55fac2af27

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb 22 14:23:50 2011 -0700

vbo: removed unused #defines, add comments

---

 src/mesa/vbo/vbo_exec.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/mesa/vbo/vbo_exec.h b/src/mesa/vbo/vbo_exec.h
index ca100e4..1b0ed79 100644
--- a/src/mesa/vbo/vbo_exec.h
+++ b/src/mesa/vbo/vbo_exec.h
@@ -40,13 +40,16 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include "vbo_attrib.h"
 
 
+/**
+ * Max number of primitives (number of glBegin/End pairs) per VBO.
+ */
 #define VBO_MAX_PRIM 64
 
-/* Wierd implementation stuff:
+
+/**
+ * Size of the VBO to use for glBegin/glVertex/glEnd-style rendering.
  */
 #define VBO_VERT_BUFFER_SIZE (1024*64)	/* bytes */
-#define VBO_MAX_ATTR_CODEGEN 16 
-#define ERROR_ATTRIB 16
 
 
 /** Current vertex program mode */




More information about the mesa-commit mailing list