Not called from any other file.
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
/* Internal functions:
*/
-void vbo_reset_attr(struct vbo_exec_context *exec, GLuint attr);
-
void vbo_exec_vtx_init( struct vbo_exec_context *exec );
void vbo_exec_vtx_destroy( struct vbo_exec_context *exec );
#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;