[Bf-blender-cvs] [bcf1626] GPU_data_request: cleanup: GPUBufferCopyFunc defined twice

Mike Erwin noreply at git.blender.org
Thu May 14 19:17:31 CEST 2015


Commit: bcf1626934f26578d0a3066c83a5e66e9d821bf5
Author: Mike Erwin
Date:   Thu May 14 13:17:12 2015 -0400
Branches: GPU_data_request
https://developer.blender.org/rBbcf1626934f26578d0a3066c83a5e66e9d821bf5

cleanup: GPUBufferCopyFunc defined twice

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

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 fd38fdb..ca7e73f 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -446,9 +446,6 @@ static GPUBuffer *gpu_try_realloc(GPUBufferPool *pool, GPUBuffer *buffer, int si
 	return buffer;
 }
 
-typedef void (*GPUBufferCopyFunc)(DerivedMesh *dm, float *varray, int *index,
-                                  int *mat_orig_to_new, void *user_data);
-
 static GPUBuffer *gpu_buffer_setup(DerivedMesh *dm, GPUDrawObject *object,
                                    int type, void *user)
 {




More information about the Bf-blender-cvs mailing list