Fixed Wswitch-enum in public header

This commit is contained in:
Chuck Walbourn 2020-01-01 22:32:02 -08:00
parent a2923e573f
commit 9bdda73b92

View File

@ -778,6 +778,16 @@ namespace DirectX
_In_ D3D12_RESOURCE_STATES afterState = D3D12_RESOURCE_STATE_RENDER_TARGET) noexcept;
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wcovered-switch-default"
#pragma clang diagnostic ignored "-Wswitch-enum"
#endif
#include "DirectXTex.inl"
#ifdef __clang__
#pragma clang diagnostic pop
#endif
} // namespace