From 6c8f3fa8616381ea2957a2a00834a490407b9b2a Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Fri, 31 Oct 2014 15:25:42 +0100 Subject: VideoConfig: Add StereoMode enumeration. --- Source/Core/VideoBackends/OGL/Render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/OGL/Render.cpp') diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index bba030f209..484232f3cc 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -1514,7 +1514,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co sourceRc.right -= fbStride - fbWidth; - if (g_ActiveConfig.iStereoMode == 1) + if (g_ActiveConfig.iStereoMode == STEREO_SBS) { // Resize target to half its original size int width = drawRc.GetWidth(); @@ -1544,7 +1544,7 @@ void Renderer::SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, co // for msaa mode, we must resolve the efb content to non-msaa GLuint tex = FramebufferManager::ResolveAndGetRenderTarget(rc); - if (g_ActiveConfig.iStereoMode == 1) + if (g_ActiveConfig.iStereoMode == STEREO_SBS) { // Resize target to half its original size int width = flipped_trc.GetWidth(); -- cgit v1.2.3