diff options
author | Mike Erwin <significant.bit@gmail.com> | 2015-05-13 00:16:50 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2015-05-13 00:16:50 +0300 |
commit | eb42cbf273555a92219927089a979f91afc6d037 (patch) | |
tree | 354df19c0a0e6c8da2570e009b7a680d86afd69b | |
parent | 247a1659faaee76a7259a16bd845cf103189950a (diff) |
Revert "Add missing stubs for buffer generation."
This reverts commit 4040f0af0017409fad4912605527900ba6919173.
-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); -} |