Mesa (master): vbo: minor clean-ups in vbo_exec.h

Brian Paul brianp at kemper.freedesktop.org
Mon Jan 29 16:06:24 UTC 2018


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

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 19 21:16:19 2018 -0700

vbo: minor clean-ups in vbo_exec.h

Reviewed-by: Mathias Fröhlich <mathias.froehlich at web.de>

---

 src/mesa/vbo/vbo_exec.h | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/mesa/vbo/vbo_exec.h b/src/mesa/vbo/vbo_exec.h
index 5f28e70ebe..dc18889b6b 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 {




More information about the mesa-commit mailing list