add flushAndWait call to destroySwapChain
This commit is contained in:
@@ -701,6 +701,7 @@ namespace polyvox
|
|||||||
_swapChain = nullptr;
|
_swapChain = nullptr;
|
||||||
Log("Swapchain destroyed.");
|
Log("Swapchain destroyed.");
|
||||||
}
|
}
|
||||||
|
_engine->flushAndWait();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FilamentViewer::clearAssets()
|
void FilamentViewer::clearAssets()
|
||||||
|
|||||||
Reference in New Issue
Block a user