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/D3D12/StreamBuffer.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/D3D12/StreamBuffer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D12/StreamBuffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D12/StreamBuffer.cpp b/Source/Core/VideoBackends/D3D12/StreamBuffer.cpp index d8f0699f77..a13b94fb16 100644 --- a/Source/Core/VideoBackends/D3D12/StreamBuffer.cpp +++ b/Source/Core/VideoBackends/D3D12/StreamBuffer.cpp @@ -72,8 +72,8 @@ bool StreamBuffer::ReserveMemory(u32 num_bytes, u32 alignment) // Check for sane allocations if (required_bytes > m_size) { - PanicAlert("Attempting to allocate %u bytes from a %u byte stream buffer", - static_cast<uint32_t>(num_bytes), static_cast<uint32_t>(m_size)); + PanicAlertFmt("Attempting to allocate {} bytes from a {} byte stream buffer", num_bytes, + m_size); return false; } |
