mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 12:20:15 +01:00
vbo: make vbo_reset_attr() static
Not called from any other file. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
9d6d9b28f7
commit
7693bcde28
2 changed files with 5 additions and 3 deletions
|
|
@ -152,8 +152,6 @@ void vbo_exec_invalidate_state( struct gl_context *ctx, GLbitfield new_state );
|
|||
|
||||
/* 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 );
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue