diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-15 05:42:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-15 05:42:41 +0300 |
commit | 72c7e12a5d04a18f80f8083b2709985e9a96adee (patch) | |
tree | 2eaabda6199a1b9006163b1eae0e969b0e688d89 /source/blender/gpu/GPU_buffers.h | |
parent | 7407ed7637da4148127cfb5e7a4de6dab01c5b1c (diff) |
DerivedMesh: minor changes to callback use
- use void instead of float for array arg (cast in the switch statement)
- remove unused args
- use const for poly-mapping and user_data args
Diffstat (limited to 'source/blender/gpu/GPU_buffers.h')
-rw-r--r-- | source/blender/gpu/GPU_buffers.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h index 07b9c60d101..dafc9ac84ed 100644 --- a/source/blender/gpu/GPU_buffers.h +++ b/source/blender/gpu/GPU_buffers.h @@ -48,10 +48,6 @@ struct GSet; struct GPUVertPointLink; struct PBVH; -typedef void (*GPUBufferCopyFunc)(DerivedMesh *dm, float *varray, int *index, - int *mat_orig_to_new, void *user_data); - - typedef struct GPUBuffer { int size; /* in bytes */ void *pointer; /* used with vertex arrays */ |