summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-12 09:07:05 -0700
committerBrian Paul <[email protected]>2018-01-17 11:17:56 -0700
commit1e9ca36058693c304dc96a42c72451d4c6f38943 (patch)
tree62d27ee4cf1f5959da51c74c9c05fcf3e80c3962
parentc40e9034be31c085d96ea45381350381e2760c56 (diff)
vbo: whitespace fixes in vbo_save.h
Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r--src/mesa/vbo/vbo_save.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/src/mesa/vbo/vbo_save.h b/src/mesa/vbo/vbo_save.h
index 485b7b17c70..2eec87a6370 100644
--- a/src/mesa/vbo/vbo_save.h
+++ b/src/mesa/vbo/vbo_save.h
@@ -76,8 +76,8 @@ struct vbo_save_vertex_list {
GLuint buffer_offset;
GLuint count; /**< vertex count */
GLuint wrap_count; /* number of copied vertices at start */
- GLboolean dangling_attr_ref; /* current attr implicitly referenced
- outside the list */
+ GLboolean dangling_attr_ref; /* current attr implicitly referenced
+ outside the list */
struct _mesa_prim *prim;
GLuint prim_count;
@@ -156,30 +156,32 @@ struct vbo_save_context {
GLuint opcode_vertex_list;
struct vbo_save_copied_vtx copied;
-
+
fi_type *current[VBO_ATTRIB_MAX]; /* points into ctx->ListState */
GLubyte *currentsz[VBO_ATTRIB_MAX];
};
-void vbo_save_init( struct gl_context *ctx );
-void vbo_save_destroy( struct gl_context *ctx );
-void vbo_save_fallback( struct gl_context *ctx, GLboolean fallback );
+void vbo_save_init(struct gl_context *ctx);
+void vbo_save_destroy(struct gl_context *ctx);
+void vbo_save_fallback(struct gl_context *ctx, GLboolean fallback);
/* save_loopback.c:
*/
-void vbo_loopback_vertex_list( struct gl_context *ctx,
- const GLfloat *buffer,
- const GLubyte *attrsz,
- const struct _mesa_prim *prim,
- GLuint prim_count,
- GLuint wrap_count,
- GLuint vertex_size);
+void vbo_loopback_vertex_list(struct gl_context *ctx,
+ const GLfloat *buffer,
+ const GLubyte *attrsz,
+ const struct _mesa_prim *prim,
+ GLuint prim_count,
+ GLuint wrap_count,
+ GLuint vertex_size);
/* Callbacks:
*/
-void vbo_save_playback_vertex_list( struct gl_context *ctx, void *data );
+void
+vbo_save_playback_vertex_list(struct gl_context *ctx, void *data);
-void vbo_save_api_init( struct vbo_save_context *save );
+void
+vbo_save_api_init(struct vbo_save_context *save);
fi_type *
vbo_save_map_vertex_store(struct gl_context *ctx,