diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-12-02 13:17:27 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-12-02 13:38:33 -0500 |
| commit | 139d4fc76e4ddf45179ca5ec5e42c52ef513ea4d (patch) | |
| tree | a639ad5dfd8a1b85eb32d408e2068dce9f41ce00 /Source/Core/VideoBackends/D3D12/VideoBackend.cpp | |
| parent | 5abae61a8c7e0e4ac03bb8d3031793037e87fdd3 (diff) | |
General: Convert PanicAlerts over to fmt equivalent
Converts lingering panic alert calls over to the fmt-capable ones.
Diffstat (limited to 'Source/Core/VideoBackends/D3D12/VideoBackend.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D12/VideoBackend.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/D3D12/VideoBackend.cpp b/Source/Core/VideoBackends/D3D12/VideoBackend.cpp index f01a809cad..af25c810c1 100644 --- a/Source/Core/VideoBackends/D3D12/VideoBackend.cpp +++ b/Source/Core/VideoBackends/D3D12/VideoBackend.cpp @@ -100,7 +100,7 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi) { if (!DXContext::Create(g_Config.iAdapter, g_Config.bEnableValidationLayer)) { - PanicAlert("Failed to create D3D12 context"); + PanicAlertFmtT("Failed to create D3D12 context"); return false; } @@ -109,7 +109,7 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi) if (!g_dx_context->CreateGlobalResources()) { - PanicAlert("Failed to create D3D12 global resources"); + PanicAlertFmtT("Failed to create D3D12 global resources"); DXContext::Destroy(); ShutdownShared(); return false; @@ -118,7 +118,7 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi) std::unique_ptr<SwapChain> swap_chain; if (wsi.render_surface && !(swap_chain = SwapChain::Create(wsi))) { - PanicAlertT("Failed to create D3D swap chain"); + PanicAlertFmtT("Failed to create D3D swap chain"); DXContext::Destroy(); ShutdownShared(); return false; @@ -136,7 +136,7 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi) !g_renderer->Initialize() || !g_framebuffer_manager->Initialize() || !g_texture_cache->Initialize() || !PerfQuery::GetInstance()->Initialize()) { - PanicAlert("Failed to initialize renderer classes"); + PanicAlertFmtT("Failed to initialize renderer classes"); Shutdown(); return false; } |
