mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 21:47:57 +00:00
General: Correct fmt specifiers
Corrects a few fmt calls to use fmt's specifiers. This also converts instances of printf over to fmt::print
This commit is contained in:
@@ -350,8 +350,11 @@ struct GraphicsContextWin32Vulkan : GraphicsContextWin32 {
|
||||
bool m_vsyncRunning;
|
||||
|
||||
static void ThrowIfFailed(VkResult res) {
|
||||
if (res != VK_SUCCESS)
|
||||
Log.report(logvisor::Fatal, fmt("%d\n"), res);
|
||||
if (res == VK_SUCCESS) {
|
||||
return;
|
||||
}
|
||||
|
||||
Log.report(logvisor::Fatal, fmt("{}\n"), res);
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user