summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-12-02 20:45:27 +0100
committerGitHub <noreply@github.com>2020-12-02 20:45:27 +0100
commitb148b56fba41e2beb81c61e4d84bbecad0f33a53 (patch)
tree9588abb91d50ca660e9f832eb8d751be73a8413d /Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
parent00f2e0e494f644d0a559dc92f9eb94be0fab6913 (diff)
parent139d4fc76e4ddf45179ca5ec5e42c52ef513ea4d (diff)
Merge pull request #9304 from lioncash/panic
General: Convert PanicAlerts over to fmt equivalent
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VulkanContext.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/VulkanContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
index e9e1f41328..ae1905bcb3 100644
--- a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
+++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
@@ -779,7 +779,7 @@ u32 VulkanContext::GetUploadMemoryType(u32 bits, bool* is_coherent)
return type_index.value();
// Shouldn't happen, there should be at least one host-visible heap.
- PanicAlert("Unable to get memory type for upload.");
+ PanicAlertFmt("Unable to get memory type for upload.");
return 0;
}
@@ -821,7 +821,7 @@ u32 VulkanContext::GetReadbackMemoryType(u32 bits, bool* is_coherent)
return type_index.value();
// We should have at least one host visible memory type...
- PanicAlert("Unable to get memory type for upload.");
+ PanicAlertFmt("Unable to get memory type for upload.");
return 0;
}