From a844f68b8b1c2817761509465a262dd3a6f40c05 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 29 Oct 2019 08:17:45 -0700 Subject: Fixed compliler warning --- Components/src/ShadowMapManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Components/src/ShadowMapManager.cpp') diff --git a/Components/src/ShadowMapManager.cpp b/Components/src/ShadowMapManager.cpp index 02c70ac..3210483 100644 --- a/Components/src/ShadowMapManager.cpp +++ b/Components/src/ShadowMapManager.cpp @@ -535,7 +535,7 @@ void ShadowMapManager::ConvertToFilterable(IDeviceContext* pCtx, const ShadowMap VERIFY(static_cast(ShadowMapDesc.ArraySize) == ShadowAttribs.iNumCascades, "Inconsistent number of cascades"); const auto& FilterableSMDesc = m_pFilterableShadowMapSRV->GetTexture()->GetDesc(); VERIFY(ShadowAttribs.bIs32BitEVSM == (FilterableSMDesc.Format == TEX_FORMAT_RGBA32_FLOAT || FilterableSMDesc.Format == TEX_FORMAT_RG32_FLOAT), - "Incorrect 32-bit VSM flag"); + "Incorrect 32-bit VSM flag"); (void)FilterableSMDesc; int iFilterRadius = (ShadowAttribs.iFixedFilterSize-1)/2; bool bSkipBlur = ShadowAttribs.iFixedFilterSize == 2; -- cgit v1.2.3