add flushAndWait call to destroySwapChain

This commit is contained in:
Nick Fisher
2023-10-23 01:33:47 +11:00
parent d15aa66f78
commit 34542a29ca

View File

@@ -701,6 +701,7 @@ namespace polyvox
_swapChain = nullptr;
Log("Swapchain destroyed.");
}
_engine->flushAndWait();
}
void FilamentViewer::clearAssets()