Silence some warnings
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user