Suppress very spamy warning
This commit is contained in:
@@ -368,7 +368,13 @@ namespace OpenVulkano
|
||||
|
||||
[[nodiscard]] operator const vk::Format&() const
|
||||
{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wstrict-aliasing"
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
return reinterpret_cast<const vk::Format&>(m_format);
|
||||
#pragma GCC diagnostic pop
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
||||
uint32_t GetBytesPerPixel();
|
||||
|
||||
Reference in New Issue
Block a user