diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-02-23 03:30:56 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-02-23 03:30:56 +0400 |
commit | 5e12c7fecac2a8521de92d7e54b7436b70c762a7 (patch) | |
tree | 2ba862e180525287f84368389d07f28035e375f5 /source/blender/gpu/GPU_buffers.h | |
parent | 5e29a678393d79549114380375326b78e4bdf296 (diff) |
Code cleanup: de-duplicate code in GPU_build_grid_buffers() with a macro.
Diffstat (limited to 'source/blender/gpu/GPU_buffers.h')
-rw-r--r-- | source/blender/gpu/GPU_buffers.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h index e244b20bbb0..15505f44e6e 100644 --- a/source/blender/gpu/GPU_buffers.h +++ b/source/blender/gpu/GPU_buffers.h @@ -166,8 +166,7 @@ GPU_Buffers *GPU_build_mesh_buffers(int (*face_vert_indices)[4], void GPU_update_mesh_buffers(GPU_Buffers *buffers, struct MVert *mvert, int *vert_indices, int totvert, int smooth); -GPU_Buffers *GPU_build_grid_buffers(struct DMGridData **grids, - int *grid_indices, int totgrid, int gridsize); +GPU_Buffers *GPU_build_grid_buffers(int totgrid, int gridsize); void GPU_update_grid_buffers(GPU_Buffers *buffers, struct DMGridData **grids, int *grid_indices, int totgrid, int gridsize, int smooth); |