summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestCreateObjFromNativeResVK.cpp
diff options
context:
space:
mode:
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);