[Bf-blender-cvs] [182b573] master: Get rid of leftover from refactor of VBO code. Thanks to severin for noticing

Antony Riakiotakis noreply at git.blender.org
Wed Sep 16 16:23:38 CEST 2015


Commit: 182b5736fbfd81eecf8bd6d36d8b74fced2c1f5a
Author: Antony Riakiotakis
Date:   Wed Sep 16 17:22:18 2015 +0300
Branches: master
https://developer.blender.org/rB182b5736fbfd81eecf8bd6d36d8b74fced2c1f5a

Get rid of leftover from refactor of VBO code. Thanks to severin for
noticing

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

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

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

diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index d15610f..b4617b9 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -95,8 +95,6 @@ const GPUBufferTypeSettings gpu_buffer_type_settings[] = {
     {GL_ELEMENT_ARRAY_BUFFER_ARB, 4},
     /* triangles, 1 point since we are allocating from tottriangle points, which account for all points */
     {GL_ELEMENT_ARRAY_BUFFER_ARB, 1},
-    /* fast triangles */
-    {GL_ELEMENT_ARRAY_BUFFER_ARB, 1},
 };
 
 #define MAX_GPU_ATTRIB_DATA 32




More information about the Bf-blender-cvs mailing list