Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2015-05-13 00:16:50 +0300
committerMike Erwin <significant.bit@gmail.com>2015-05-13 00:16:50 +0300
commiteb42cbf273555a92219927089a979f91afc6d037 (patch)
tree354df19c0a0e6c8da2570e009b7a680d86afd69b
parent247a1659faaee76a7259a16bd845cf103189950a (diff)
Revert "Add missing stubs for buffer generation."
This reverts commit 4040f0af0017409fad4912605527900ba6919173.
-rw-r--r--source/blender/gpu/intern/gpux_vbo.c25
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);
-}