summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-12-02 13:17:27 -0500
committerLioncash <mathew1800@gmail.com>2020-12-02 13:38:33 -0500
commit139d4fc76e4ddf45179ca5ec5e42c52ef513ea4d (patch)
treea639ad5dfd8a1b85eb32d408e2068dce9f41ce00 /Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp
parent5abae61a8c7e0e4ac03bb8d3031793037e87fdd3 (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/Vulkan/StreamBuffer.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp b/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp
index 9582093c89..ee86615090 100644
--- a/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp
+++ b/Source/Core/VideoBackends/Vulkan/StreamBuffer.cpp
@@ -136,8 +136,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;
}