Fail build on warning C4715
This commit is contained in:
@@ -19,6 +19,7 @@ function(SetWarningSettings TARGET)
|
||||
if (MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS "/wd4068")
|
||||
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS "/we4715")
|
||||
set_target_properties(${TARGET} PROPERTIES LINK_FLAGS "/ignore:4099")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -246,6 +246,7 @@ namespace OpenVulkano
|
||||
|| format >= ASTC_4x4_SFLOAT_BLOCK && format <= PVRTC2_4BPP_SRGB_BLOCK_IMG;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
size_t DataFormat::CalculatedSize(uint32_t& width, uint32_t& height)
|
||||
|
||||
Reference in New Issue
Block a user