summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-02-22 14:23:50 -0700
committerBrian Paul <[email protected]>2011-02-22 14:23:50 -0700
commitbcd017f16fd00723a00a212775e22c55fac2af27 (patch)
tree375be63bd7e3babf3fd0ddd42aa51b1b60634a66 /src/mesa/vbo/vbo_exec.h
parenteb24a5a9be2d517dfe5a00c869e6255ed7a279ce (diff)
vbo: removed unused #defines, add comments
Diffstat (limited to 'src/mesa/vbo/vbo_exec.h')
-rw-r--r--src/mesa/vbo/vbo_exec.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/vbo/vbo_exec.h b/src/mesa/vbo/vbo_exec.h
index ca100e428d2..1b0ed79473b 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 */