summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/SwapChain.cpp
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-11-19 15:08:16 +0100
committerGitHub <noreply@github.com>2017-11-19 15:08:16 +0100
commit80bcc0d58d7d3b39d0e1b7973cbce34d4cf61f4e (patch)
tree22d2ccf22820d55938bd47c7d0a7e81c2d722c7d /Source/Core/VideoBackends/Vulkan/SwapChain.cpp
parenta75546747ead9aad27ea7e62d340d18e446dcaf3 (diff)
parent5337e58284aa9c727cdd66a1a79d968861a70839 (diff)
Merge pull request #6186 from lioncash/enum-class
VideoConfig: Make AspectMode and StereoMode enum classes
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/SwapChain.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/SwapChain.cpp2
1 files changed, 1 insertions, 1 deletions
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;