From 5a116d0bb5971848235ddd72915520f852c43ba2 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 24 Oct 2019 23:57:11 -0700 Subject: Fixed a number of clang warning to reduce the log size and fix travis build error --- Tests/TestApp/src/TestTextureCreation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Tests/TestApp/src/TestTextureCreation.cpp') diff --git a/Tests/TestApp/src/TestTextureCreation.cpp b/Tests/TestApp/src/TestTextureCreation.cpp index 3dc0e6b..b687121 100644 --- a/Tests/TestApp/src/TestTextureCreation.cpp +++ b/Tests/TestApp/src/TestTextureCreation.cpp @@ -734,7 +734,7 @@ void TestTextureCreation::CheckFormatSize(TEXTURE_FORMAT *begin, TEXTURE_FORMAT for(auto fmt = begin; fmt != end; ++fmt) { auto FmtAttrs = m_pDevice->GetTextureFormatInfo(*fmt); - assert(Uint32{FmtAttrs.ComponentSize} * Uint32{FmtAttrs.NumComponents} == RefSize); + assert(Uint32{FmtAttrs.ComponentSize} * Uint32{FmtAttrs.NumComponents} == RefSize); (void)FmtAttrs; } } @@ -743,7 +743,7 @@ void TestTextureCreation::CheckNumComponents(TEXTURE_FORMAT *begin, TEXTURE_FORM for(auto fmt = begin; fmt != end; ++fmt) { auto FmtAttrs = m_pDevice->GetTextureFormatInfo(*fmt); - assert(FmtAttrs.NumComponents == RefComponents); + assert(FmtAttrs.NumComponents == RefComponents); (void)FmtAttrs; } } @@ -752,7 +752,7 @@ void TestTextureCreation::CheckComponentType(TEXTURE_FORMAT *begin, TEXTURE_FORM for(auto fmt = begin; fmt != end; ++fmt) { auto FmtAttrs = m_pDevice->GetTextureFormatInfo(*fmt); - assert(FmtAttrs.ComponentType == RefType); + assert(FmtAttrs.ComponentType == RefType); (void)FmtAttrs; } } -- cgit v1.2.3