summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestTextureCreation.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-10-07 02:19:50 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-10-07 02:19:50 +0000
commitef733fdbac35b6180964766b107f219eb41b1d75 (patch)
treeecd061c4bd7c25648496d5dce96894794530c851 /Tests/TestApp/src/TestTextureCreation.cpp
parentFixed compiler warnings (diff)
downloadDiligentEngine-ef733fdbac35b6180964766b107f219eb41b1d75.tar.gz
DiligentEngine-ef733fdbac35b6180964766b107f219eb41b1d75.zip
Updated submodules (main change: refactored release queues in D3D12 and Vulkan backends)
Diffstat (limited to 'Tests/TestApp/src/TestTextureCreation.cpp')
-rw-r--r--Tests/TestApp/src/TestTextureCreation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/TestApp/src/TestTextureCreation.cpp b/Tests/TestApp/src/TestTextureCreation.cpp
index 70936a5..1bade31 100644
--- a/Tests/TestApp/src/TestTextureCreation.cpp
+++ b/Tests/TestApp/src/TestTextureCreation.cpp
@@ -379,6 +379,8 @@ private:
m_pDeviceContext->Flush();
// Also call FinishFrame() because otherwise resources will not be released
m_pDeviceContext->FinishFrame();
+
+ m_pDevice->ReleaseStaleResources();
}