diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-10-25 06:57:11 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-10-25 06:57:11 +0000 |
| commit | 5a116d0bb5971848235ddd72915520f852c43ba2 (patch) | |
| tree | 9f59ad53ad09858b8c3443ff5ff9c84c0be463fa /Tests/TestApp/src/TestTextureCreation.cpp | |
| parent | Updated core & samples; added Tutorial 16; updated troubleshooting (diff) | |
| download | DiligentEngine-5a116d0bb5971848235ddd72915520f852c43ba2.tar.gz DiligentEngine-5a116d0bb5971848235ddd72915520f852c43ba2.zip | |
Fixed a number of clang warning to reduce the log size and fix travis build error
Diffstat (limited to 'Tests/TestApp/src/TestTextureCreation.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTextureCreation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } } |
