diff options
-rw-r--r-- | source/blender/gpu/intern/gpux_vbo.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/source/blender/gpu/intern/gpux_vbo.c b/source/blender/gpu/intern/gpux_vbo.c index e2cd9a72b5a..84d2697cbb2 100644 --- a/source/blender/gpu/intern/gpux_vbo.c +++ b/source/blender/gpu/intern/gpux_vbo.c @@ -616,28 +616,3 @@ unsigned GPUx_vertex_ct(const VertexBuffer *buff) { return buff->vertex_ct; } - - -GLuint buffer_id_alloc(void) -{ - GLuint id; - glGenBuffers(1, &id); - return id; -} - -void buffer_id_free(GLuint buffer_id) -{ - glDeleteBuffers(1, &buffer_id); -} - -GLuint vao_id_alloc(void) -{ - GLuint id; - glGenVertexArrays(1, &id); - return id; -} - -void vao_id_free(GLuint vao_id) -{ - glDeleteVertexArrays(1, &vao_id); -} |