From 5337e58284aa9c727cdd66a1a79d968861a70839 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Nov 2017 22:55:00 -0500 Subject: VideoConfig: Make StereoMode an enum class Makes for more strongly-typed identifiers (and doesn't pollute surrounding namespaces) --- Source/Core/VideoBackends/Vulkan/SwapChain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoBackends/Vulkan/SwapChain.cpp') diff --git a/Source/Core/VideoBackends/Vulkan/SwapChain.cpp b/Source/Core/VideoBackends/Vulkan/SwapChain.cpp index abcd38c94a..58785130b0 100644 --- a/Source/Core/VideoBackends/Vulkan/SwapChain.cpp +++ b/Source/Core/VideoBackends/Vulkan/SwapChain.cpp @@ -321,7 +321,7 @@ bool SwapChain::CreateSwapChain() } // Select the number of image layers for Quad-Buffered stereoscopy - uint32_t image_layers = g_ActiveConfig.iStereoMode == STEREO_QUADBUFFER ? 2 : 1; + uint32_t image_layers = g_ActiveConfig.stereo_mode == StereoMode::QuadBuffer ? 2 : 1; // Store the old/current swap chain when recreating for resize VkSwapchainKHR old_swap_chain = m_swap_chain; -- cgit v1.2.3