From: Brian Paul Date: Sat, 20 Jan 2018 04:16:19 +0000 (-0700) Subject: vbo: minor clean-ups in vbo_exec.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=425da3bbfc598d3b64a025e0c43b1bcb63f845e9;p=mesa.git vbo: minor clean-ups in vbo_exec.h Reviewed-by: Mathias Fröhlich --- 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 {