Code cleanup: use bool instead of int
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user