Silence some warnings

This commit is contained in:
Georg Hagen
2025-02-08 16:16:03 +01:00
parent 123c6ecc9b
commit afd2c8043e
6 changed files with 16 additions and 16 deletions

View File

@@ -242,8 +242,8 @@ namespace OpenVulkano
{
if (format == m_format)
{
return format >= BC1_RGB_UNORM_BLOCK && format <= ASTC_12x12_SRGB_BLOCK
|| format >= ASTC_4x4_SFLOAT_BLOCK && format <= PVRTC2_4BPP_SRGB_BLOCK_IMG;
return (format >= BC1_RGB_UNORM_BLOCK && format <= ASTC_12x12_SRGB_BLOCK) ||
(format >= ASTC_4x4_SFLOAT_BLOCK && format <= PVRTC2_4BPP_SRGB_BLOCK_IMG);
}
}
return false;
@@ -268,4 +268,4 @@ namespace OpenVulkano
#ifndef __APPLE__
DataFormat DataFormat::GetFromMetalPixelFormat(int formatId) { return UNDEFINED; }
#endif
}
}