summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-10-13 14:20:25 -0600
committerBrian Paul <[email protected]>2016-10-20 09:47:21 -0600
commit7693bcde2802f2b7772eaf35506cabaae62cbe45 (patch)
treee2a76004ae88e841e84581e155d627aa9728dd01 /src/mesa/vbo/vbo_exec_api.c
parent9d6d9b28f74780ee181cf434bd914aba8dd8d908 (diff)
vbo: make vbo_reset_attr() static
Not called from any other file. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_api.c')
-rw-r--r--src/mesa/vbo/vbo_exec_api.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c
index 4c8b927de6e..6df8d887609 100644
--- a/src/mesa/vbo/vbo_exec_api.c
+++ b/src/mesa/vbo/vbo_exec_api.c
@@ -1275,7 +1275,11 @@ void vbo_exec_FlushVertices( struct gl_context *ctx, GLuint flags )
#endif
}
-void vbo_reset_attr(struct vbo_exec_context *exec, GLuint attr)
+/**
+ * Reset the vertex attribute by setting its size to zero.
+ */
+static void
+vbo_reset_attr(struct vbo_exec_context *exec, GLuint attr)
{
exec->vtx.attrsz[attr] = 0;
exec->vtx.attrtype[attr] = GL_FLOAT;