mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Vulkan: Migrate logging over to fmt
Migrates the vulkan backend over to the fmt-capable logger.
This commit is contained in:
@ -283,7 +283,7 @@ bool SwapChain::CreateSwapChain()
|
||||
VkImageUsageFlags image_usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT;
|
||||
if (!(surface_capabilities.supportedUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT))
|
||||
{
|
||||
ERROR_LOG(VIDEO, "Vulkan: Swap chain does not support usage as color attachment");
|
||||
ERROR_LOG_FMT(VIDEO, "Vulkan: Swap chain does not support usage as color attachment");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -341,7 +341,7 @@ bool SwapChain::CreateSwapChain()
|
||||
if (res != VK_SUCCESS)
|
||||
{
|
||||
// Try without exclusive fullscreen.
|
||||
WARN_LOG(VIDEO, "Failed to create exclusive fullscreen swapchain, trying without.");
|
||||
WARN_LOG_FMT(VIDEO, "Failed to create exclusive fullscreen swapchain, trying without.");
|
||||
swap_chain_info.pNext = nullptr;
|
||||
g_Config.backend_info.bSupportsExclusiveFullscreen = false;
|
||||
g_ActiveConfig.backend_info.bSupportsExclusiveFullscreen = false;
|
||||
@ -514,7 +514,7 @@ bool SwapChain::SetFullscreenState(bool state)
|
||||
return false;
|
||||
}
|
||||
|
||||
INFO_LOG(VIDEO, "Exclusive fullscreen acquired.");
|
||||
INFO_LOG_FMT(VIDEO, "Exclusive fullscreen acquired.");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -522,7 +522,7 @@ bool SwapChain::SetFullscreenState(bool state)
|
||||
if (res != VK_SUCCESS)
|
||||
LOG_VULKAN_ERROR(res, "vkReleaseFullScreenExclusiveModeEXT failed:");
|
||||
|
||||
INFO_LOG(VIDEO, "Exclusive fullscreen released.");
|
||||
INFO_LOG_FMT(VIDEO, "Exclusive fullscreen released.");
|
||||
}
|
||||
|
||||
m_current_fullscreen_state = state;
|
||||
|
Reference in New Issue
Block a user