VideoConfig: Add StereoMode enumeration.

This commit is contained in:
Jules Blok 2014-10-31 15:25:42 +01:00
parent 0eb0c47eba
commit 6c8f3fa861
2 changed files with 8 additions and 2 deletions

View File

@ -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();

View File

@ -44,6 +44,12 @@ enum EFBScale
SCALE_4X,
};
enum StereoMode
{
STEREO_OFF = 0,
STEREO_SBS
};
// NEVER inherit from this class.
struct VideoConfig final
{