[Bf-blender-cvs] [1543c3f] GPU_data_request: very minor cleanup

Mike Erwin noreply at git.blender.org
Tue Apr 21 08:29:34 CEST 2015


Commit: 1543c3f706f668b6fb29a6b9b2ec7da60d3fb873
Author: Mike Erwin
Date:   Tue Apr 21 00:31:29 2015 -0400
Branches: GPU_data_request
https://developer.blender.org/rB1543c3f706f668b6fb29a6b9b2ec7da60d3fb873

very minor cleanup

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

M	source/blender/gpu/intern/gpux_draw.c
M	source/blender/gpu/intern/gpux_element_private.h

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

diff --git a/source/blender/gpu/intern/gpux_draw.c b/source/blender/gpu/intern/gpux_draw.c
index 4ae596a..2cccdb4 100644
--- a/source/blender/gpu/intern/gpux_draw.c
+++ b/source/blender/gpu/intern/gpux_draw.c
@@ -3,7 +3,6 @@
 #include "gpux_element_private.h"
 
 #include <stdlib.h>
-//#include <stdio.h> /* TODO: remove */
 
 #ifdef TRUST_NO_ONE
   #include <assert.h>
@@ -142,7 +141,6 @@ void GPUx_draw_primitives(const VertexBuffer *vbo, const ElementList *el, const
 
 GPUxBatch *GPUx_batch_create()
 {
-//	puts(__FUNCTION__);
 	GPUxBatch *batch = calloc(1, sizeof(GPUxBatch));
 	batch->prim_type = GL_NONE;
 	batch->state = default_state;
@@ -151,7 +149,6 @@ GPUxBatch *GPUx_batch_create()
 
 void GPUx_batch_discard(GPUxBatch *batch)
 {
-//	puts(__FUNCTION__);
 	GPUx_vertex_buffer_discard(batch->buff);
 	if (batch->elem)
 		GPUx_element_list_discard(batch->elem);
diff --git a/source/blender/gpu/intern/gpux_element_private.h b/source/blender/gpu/intern/gpux_element_private.h
index 10673fc..f75621a 100644
--- a/source/blender/gpu/intern/gpux_element_private.h
+++ b/source/blender/gpu/intern/gpux_element_private.h
@@ -8,7 +8,7 @@
 #define TRACK_INDEX_RANGE
 
 /* VBOs are guaranteed for any GL >= 1.5
-* They can be turned off here (mostly for comparison). */
+ * They can be turned off here (mostly for comparison). */
 #define USE_ELEM_VBO
 
 struct ElementList {




More information about the Bf-blender-cvs mailing list