[Vulkan] Better handling of device lost events (present fatal error dialog)

This commit is contained in:
DrChat
2017-12-18 14:27:00 -06:00
parent 76b577148d
commit b5d647d540
14 changed files with 154 additions and 65 deletions

View File

@@ -57,9 +57,9 @@ class VulkanSwapChain {
void WaitAndSignalSemaphore(VkSemaphore sem);
// Begins the swap operation, preparing state for rendering.
bool Begin();
VkResult Begin();
// Ends the swap operation, finalizing rendering and presenting the results.
bool End();
VkResult End();
private:
struct Buffer {