[Bf-blender-cvs] [eb42cbf] GPU_data_request: Revert "Add missing stubs for buffer generation."

Mike Erwin noreply at git.blender.org
Tue May 12 23:17:31 CEST 2015


Commit: eb42cbf273555a92219927089a979f91afc6d037
Author: Mike Erwin
Date:   Tue May 12 17:16:50 2015 -0400
Branches: GPU_data_request
https://developer.blender.org/rBeb42cbf273555a92219927089a979f91afc6d037

Revert "Add missing stubs for buffer generation."

This reverts commit 4040f0af0017409fad4912605527900ba6919173.

===================================================================

M	source/blender/gpu/intern/gpux_vbo.c

===================================================================

diff --git a/source/blender/gpu/intern/gpux_vbo.c b/source/blender/gpu/intern/gpux_vbo.c
index e2cd9a7..84d2697 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);
-}




More information about the Bf-blender-cvs mailing list