Browse Source

renderer_vulkan: remove wrong constexpr

nce_cpp
Liam 3 years ago
parent
commit
f532faa5c3
  1. 2
      src/video_core/renderer_vulkan/vk_swapchain.cpp

2
src/video_core/renderer_vulkan/vk_swapchain.cpp

@ -34,7 +34,7 @@ VkSurfaceFormatKHR ChooseSwapSurfaceFormat(vk::Span<VkSurfaceFormatKHR> formats)
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) {
// Mailbox doesn't lock the application like FIFO (vsync)
// FIFO present mode locks the framerate to the monitor's refresh rate

Loading…
Cancel
Save