summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestCreateObjFromNativeResVK.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-10-25 06:57:11 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-10-25 06:57:11 +0000
commit5a116d0bb5971848235ddd72915520f852c43ba2 (patch)
tree9f59ad53ad09858b8c3443ff5ff9c84c0be463fa /Tests/TestApp/src/TestCreateObjFromNativeResVK.cpp
parentUpdated core & samples; added Tutorial 16; updated troubleshooting (diff)
downloadDiligentEngine-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/TestCreateObjFromNativeResVK.cpp')
-rw-r--r--Tests/TestApp/src/TestCreateObjFromNativeResVK.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestCreateObjFromNativeResVK.cpp b/Tests/TestApp/src/TestCreateObjFromNativeResVK.cpp
index 19e3c1b..3bb662a 100644
--- a/Tests/TestApp/src/TestCreateObjFromNativeResVK.cpp
+++ b/Tests/TestApp/src/TestCreateObjFromNativeResVK.cpp
@@ -55,6 +55,7 @@ void TestCreateObjFromNativeResVK::CreateTexture(Diligent::ITexture *pTexture)
RefCntAutoPtr<ITextureVk> pAttachedTextureVk(pAttachedTexture, IID_TextureVk);
VERIFY_EXPR(pAttachedTextureVk->GetVkImage() == VkHandle);
VERIFY_EXPR( reinterpret_cast<VkImage>(pAttachedTextureVk->GetNativeHandle()) == VkHandle);
+ (void)TestTexDesc;
#endif
}
@@ -72,6 +73,7 @@ void TestCreateObjFromNativeResVK::CreateBuffer(Diligent::IBuffer *pBuffer)
const auto &TestBufferDesc = pBufferFromNativeVkHandle->GetDesc();
VERIFY_EXPR(TestBufferDesc == SrcBuffDesc);
+ (void)TestBufferDesc;
RefCntAutoPtr<IBufferVk> pTestBufferVk(pBufferFromNativeVkHandle, IID_BufferVk);
VERIFY_EXPR(pTestBufferVk->GetVkBuffer() == VkBufferHandle);