diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-01 11:55:25 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-01 11:55:25 +0400 |
commit | 9904127e335769bf376dae70cebee355b88ed5d8 (patch) | |
tree | e9c973110ee5e9bb59aba9217c84ace4e2105659 | |
parent | ee72cba008829c0ae1bb21f952e180d54dd12f88 (diff) |
Code cleanup: use bool instead of int
-rw-r--r-- | source/blender/gpu/GPU_buffers.h | 2 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_buffers.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h index d378cec4e39..eca74317585 100644 --- a/source/blender/gpu/GPU_buffers.h +++ b/source/blender/gpu/GPU_buffers.h @@ -168,7 +168,7 @@ GPU_PBVH_Buffers *GPU_build_pbvh_mesh_buffers(int (*face_vert_indices)[4], void GPU_update_mesh_pbvh_buffers(GPU_PBVH_Buffers *buffers, MVert *mvert, int *vert_indices, int totvert, const float *vmask, - int (*face_vert_indices)[4], int show_diffuse_color); + int (*face_vert_indices)[4], bool show_diffuse_color); GPU_PBVH_Buffers *GPU_build_grid_pbvh_buffers(int *grid_indices, int totgrid, unsigned int **grid_hidden, int gridsize); diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index 7902d092cac..9559a752800 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -1436,7 +1436,7 @@ static void gpu_color_from_mask_quad_set(const CCGKey *key, void GPU_update_mesh_pbvh_buffers(GPU_PBVH_Buffers *buffers, MVert *mvert, int *vert_indices, int totvert, const float *vmask, - int (*face_vert_indices)[4], int show_diffuse_color) + int (*face_vert_indices)[4], bool show_diffuse_color) { VertexBufferFormat *vert_data; int i, j, k; |