Module: Mesa Branch: master Commit: 425da3bbfc598d3b64a025e0c43b1bcb63f845e9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=425da3bbfc598d3b64a025e0c43b1bcb63f845e9
Author: Brian Paul <bri...@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.froehl...@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 { _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit