waitforgpu() dx12 wrapper added, sync before exit editor
This commit is contained in:
@@ -40,6 +40,8 @@ MainComponent::MainComponent()
|
||||
|
||||
MainComponent::~MainComponent()
|
||||
{
|
||||
wiRenderer::GetDevice()->WaitForGPU();
|
||||
|
||||
if (activeComponent != nullptr)
|
||||
{
|
||||
activeComponent->Unload();
|
||||
|
||||
Reference in New Issue
Block a user