2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

renderer_vulkan: remove wrong constexpr

This commit is contained in:
Liam 2023-05-18 18:01:01 -04:00
parent f35c14fb73
commit de7c92d7c4

View file

@ -34,7 +34,7 @@ VkSurfaceFormatKHR ChooseSwapSurfaceFormat(vk::Span<VkSurfaceFormatKHR> formats)
return found != formats.end() ? *found : formats[0]; return found != formats.end() ? *found : formats[0];
} }
static constexpr VkPresentModeKHR ChooseSwapPresentMode(bool has_imm, bool has_mailbox, static VkPresentModeKHR ChooseSwapPresentMode(bool has_imm, bool has_mailbox,
bool has_fifo_relaxed) { bool has_fifo_relaxed) {
// Mailbox doesn't lock the application like FIFO (vsync) // Mailbox doesn't lock the application like FIFO (vsync)
// FIFO present mode locks the framerate to the monitor's refresh rate // FIFO present mode locks the framerate to the monitor's refresh rate