summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2014-12-20 22:14:45 +0100
committerJules Blok <jules.blok@gmail.com>2014-12-24 18:45:24 +0100
commit9590ea0cf6e8bc52ddec6c47d485db05645bab7a (patch)
tree3f6232a959dd648d7faea385711e2f611501ea31 /Source/Core/VideoCommon/VideoConfig.cpp
parent4a86234a79f2ad2f72d17bb622669710aa1a37e8 (diff)
VideoConfig: Turn off stereoscopy when Real XFB is enabled.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index d4cff3ec42..867a97895f 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -217,10 +217,19 @@ void VideoConfig::VerifyValidity()
if (iAdapter < 0 || iAdapter > ((int)backend_info.Adapters.size() - 1)) iAdapter = 0;
if (iMultisampleMode < 0 || iMultisampleMode >= (int)backend_info.AAModes.size()) iMultisampleMode = 0;
- if (iStereoMode > 0 && !backend_info.bSupportsGeometryShaders)
+ if (iStereoMode > 0)
{
- OSD::AddMessage("Stereoscopic 3D isn't supported by your GPU, support for OpenGL 3.2 is required.", 10000);
- iStereoMode = 0;
+ if (!backend_info.bSupportsGeometryShaders)
+ {
+ OSD::AddMessage("Stereoscopic 3D isn't supported by your GPU, support for OpenGL 3.2 is required.", 10000);
+ iStereoMode = 0;
+ }
+
+ if (bUseRealXFB)
+ {
+ OSD::AddMessage("Stereoscopic 3D isn't supported with Real XFB, turning off stereoscopy.", 10000);
+ iStereoMode = 0;
+ }
}
}