summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestTextureCreation.cpp
diff options
context:
space:
mode:
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 fbc2bcb..7544d76 100644
--- a/Tests/TestApp/src/TestTextureCreation.cpp
+++ b/Tests/TestApp/src/TestTextureCreation.cpp
@@ -377,6 +377,8 @@ private:
// Without flushing the command buffer, the memory is not released until sometimes
// later causing out-of-memory error
m_pDeviceContext->Flush();
+ // Also call FinishFrame() because otherwise resources will not be released
+ m_pDeviceContext->FinishFrame();
}