Code cleanup: use bool instead of int

This commit is contained in:
2014-04-01 13:55:25 +06:00
parent ee72cba008
commit 9904127e33
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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;