Fix comparison signedness warning (2)
This commit is contained in:
parent
50555bdedc
commit
c4ca66516c
@ -31,7 +31,7 @@ VoxelSingleValue VoxelGenerator::generate_single(Vector3i pos, unsigned int chan
|
||||
|
||||
void VoxelGenerator::_b_generate_block(Ref<VoxelBuffer> out_buffer, Vector3 origin_in_voxels, int lod) {
|
||||
ERR_FAIL_COND(lod < 0);
|
||||
ERR_FAIL_COND(lod >= constants::MAX_LOD);
|
||||
ERR_FAIL_COND(lod >= int(constants::MAX_LOD));
|
||||
ERR_FAIL_COND(out_buffer.is_null());
|
||||
VoxelQueryData q = { out_buffer->get_buffer(), origin_in_voxels, uint8_t(lod) };
|
||||
generate_block(q);
|
||||
|
Loading…
x
Reference in New Issue
Block a user