From 977c2ee0106b34301f09a063b78f2a8a56f4ca4c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 3 Aug 2018 02:48:36 -0700 Subject: Updated core submodule; added shader variable access tests --- Tests/TestApp/src/TestTextureCreation.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Tests/TestApp/src/TestTextureCreation.cpp') 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(); } -- cgit v1.2.3