waitforgpu() dx12 wrapper added, sync before exit editor

This commit is contained in:
turanszkij
2018-03-12 14:34:55 +00:00
parent 13a5ad3e35
commit df703cc693
12 changed files with 33 additions and 7 deletions
+2
View File
@@ -40,6 +40,8 @@ MainComponent::MainComponent()
MainComponent::~MainComponent()
{
wiRenderer::GetDevice()->WaitForGPU();
if (activeComponent != nullptr)
{
activeComponent->Unload();