summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoConfig.cpp
diff options
context:
space:
mode:
authorMarkus Wick <markus+github@selfnet.de>2014-12-26 13:25:33 +0100
committerMarkus Wick <markus+github@selfnet.de>2014-12-26 13:25:33 +0100
commita86865d1c42baced251204f1474bed65727637bc (patch)
tree7be2bb799f930fd150488232ae16a4a54f99318c /Source/Core/VideoCommon/VideoConfig.cpp
parentf71c4b5768579aff6986543c10ed8b24169e2589 (diff)
parent833513f38413dc0f6af47067b223125c3de3eeaf (diff)
Merge pull request #1740 from Armada651/stereo-xfb
Support stereoscopy with Virtual XFB
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;
+ }
}
}