General: Convert PanicAlerts over to fmt equivalent
Converts lingering panic alert calls over to the fmt-capable ones.
This commit is contained in:
1 parent
5abae61a8c
commit
139d4fc76e
45 files changed
+206
-195
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user