From 425da3bbfc598d3b64a025e0c43b1bcb63f845e9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 19 Jan 2018 21:16:19 -0700 Subject: [PATCH] vbo: minor clean-ups in vbo_exec.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Mathias Fröhlich --- 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 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 { -- 2.30.2