diff options
Diffstat (limited to 'src/mesa/vbo/vbo_rebase.c')
-rw-r--r-- | src/mesa/vbo/vbo_rebase.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/vbo/vbo_rebase.c b/src/mesa/vbo/vbo_rebase.c index 9f5dc4678f8..a9d8ff93e93 100644 --- a/src/mesa/vbo/vbo_rebase.c +++ b/src/mesa/vbo/vbo_rebase.c @@ -91,16 +91,6 @@ GLboolean vbo_all_varyings_in_vbos( const struct gl_vertex_array *arrays[] ) return GL_TRUE; } -GLboolean vbo_any_varyings_in_vbos( const struct gl_vertex_array *arrays[] ) -{ - GLuint i; - - for (i = 0; i < VERT_ATTRIB_MAX; i++) - if (arrays[i]->BufferObj->Name != 0) - return GL_TRUE; - - return GL_FALSE; -} /* Adjust primitives, indices and vertex definitions so that min_index * becomes zero. There are lots of reasons for wanting to do this, eg: |