add flushAndWait call to destroySwapChain
This commit is contained in:
1 parent
d15aa66f78
commit
34542a29ca
1 file changed
+1
@@ -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