summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-19 21:16:19 -0700
committerBrian Paul <[email protected]>2018-01-29 08:35:14 -0700
commit425da3bbfc598d3b64a025e0c43b1bcb63f845e9 (patch)
treeaf780ed561aee9cbb0bc0f8cb979709273f3060e /src
parentd631ea3a2327019105239421bd8bd214f796e94f (diff)
vbo: minor clean-ups in vbo_exec.h
Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/vbo/vbo_exec.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mesa/vbo/vbo_exec.h b/src/mesa/vbo/vbo_exec.h
index 5f28e70ebeb..dc18889b6b4 100644
--- a/src/mesa/vbo/vbo_exec.h
+++ b/src/mesa/vbo/vbo_exec.h
@@ -31,14 +31,15 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
-#ifndef __VBO_EXEC_H__
-#define __VBO_EXEC_H__
+#ifndef VBO_EXEC_H
+#define VBO_EXEC_H
+
#include "main/mtypes.h"
+#include "main/imports.h"
#include "vbo.h"
#include "vbo_attrib.h"
-#include "main/imports.h"
/**
* Max number of primitives (number of glBegin/End pairs) per VBO.
@@ -47,9 +48,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
/**
- * Size of the VBO to use for glBegin/glVertex/glEnd-style rendering.
+ * Size (in bytes) of the VBO to use for glBegin/glVertex/glEnd-style rendering.
*/
-#define VBO_VERT_BUFFER_SIZE (1024*64) /* bytes */
+#define VBO_VERT_BUFFER_SIZE (1024 * 64)
struct vbo_exec_eval1_map {