diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-08-03 09:48:36 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-08-03 09:48:36 +0000 |
| commit | 977c2ee0106b34301f09a063b78f2a8a56f4ca4c (patch) | |
| tree | 3b4c18f126bd0ab14ece00fe2f846bb9dd786ecf /Tests/TestApp/src/TestTextureCreation.cpp | |
| parent | Updated asteroids demo to call FinishFrame on deferred contexts; updated core... (diff) | |
| download | DiligentEngine-977c2ee0106b34301f09a063b78f2a8a56f4ca4c.tar.gz DiligentEngine-977c2ee0106b34301f09a063b78f2a8a56f4ca4c.zip | |
Updated core submodule; added shader variable access tests
Diffstat (limited to 'Tests/TestApp/src/TestTextureCreation.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTextureCreation.cpp | 2 |
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(); } |
