diff options
| author | Léo Lam <leo@leolam.fr> | 2020-12-02 20:45:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-02 20:45:27 +0100 |
| commit | b148b56fba41e2beb81c61e4d84bbecad0f33a53 (patch) | |
| tree | 9588abb91d50ca660e9f832eb8d751be73a8413d /Source/Core/VideoBackends/Vulkan/Renderer.cpp | |
| parent | 00f2e0e494f644d0a559dc92f9eb94be0fab6913 (diff) | |
| parent | 139d4fc76e4ddf45179ca5ec5e42c52ef513ea4d (diff) | |
Merge pull request #9304 from lioncash/panic
General: Convert PanicAlerts over to fmt equivalent
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/Renderer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/Renderer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/Renderer.cpp b/Source/Core/VideoBackends/Vulkan/Renderer.cpp index 1eaf25ee9d..68c6777599 100644 --- a/Source/Core/VideoBackends/Vulkan/Renderer.cpp +++ b/Source/Core/VideoBackends/Vulkan/Renderer.cpp @@ -67,7 +67,7 @@ bool Renderer::Initialize() m_bounding_box = std::make_unique<BoundingBox>(); if (!m_bounding_box->Initialize()) { - PanicAlert("Failed to initialize bounding box."); + PanicAlertFmt("Failed to initialize bounding box."); return false; } @@ -317,7 +317,7 @@ void Renderer::BindBackbuffer(const ClearColor& clear_color) res = m_swap_chain->AcquireNextImage(); } if (res != VK_SUCCESS) - PanicAlert("Failed to grab image from swap chain"); + PanicAlertFmt("Failed to grab image from swap chain"); // Transition from undefined (or present src, but it can be substituted) to // color attachment ready for writing. These transitions must occur outside @@ -385,7 +385,7 @@ void Renderer::CheckForSurfaceChange() // Recreate the surface. If this fails we're in trouble. if (!m_swap_chain->RecreateSurface(m_new_surface_handle)) - PanicAlert("Failed to recreate Vulkan surface. Cannot continue."); + PanicAlertFmt("Failed to recreate Vulkan surface. Cannot continue."); m_new_surface_handle = nullptr; // Handle case where the dimensions are now different. |
