diff options
Diffstat (limited to 'Source/Core/VideoBackends/D3DCommon/SwapChain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3DCommon/SwapChain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/D3DCommon/SwapChain.cpp b/Source/Core/VideoBackends/D3DCommon/SwapChain.cpp index ff344a993d..56d927f159 100644 --- a/Source/Core/VideoBackends/D3DCommon/SwapChain.cpp +++ b/Source/Core/VideoBackends/D3DCommon/SwapChain.cpp @@ -126,7 +126,7 @@ bool SwapChain::CreateSwapChain(bool stereo) if (FAILED(hr)) { - PanicAlert("Failed to create swap chain with HRESULT %08X", hr); + PanicAlertFmt("Failed to create swap chain with HRESULT {:08X}", hr); return false; } @@ -139,7 +139,7 @@ bool SwapChain::CreateSwapChain(bool stereo) m_stereo = stereo; if (!CreateSwapChainBuffers()) { - PanicAlert("Failed to create swap chain buffers"); + PanicAlertFmt("Failed to create swap chain buffers"); DestroySwapChainBuffers(); m_swap_chain.Reset(); return false; @@ -187,7 +187,7 @@ void SwapChain::SetStereo(bool stereo) DestroySwapChain(); if (!CreateSwapChain(stereo)) { - PanicAlert("Failed to switch swap chain stereo mode"); + PanicAlertFmt("Failed to switch swap chain stereo mode"); CreateSwapChain(false); } } |
