diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-10-29 16:26:28 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-11-23 14:27:38 +0100 |
| commit | 4fd943aedd9d2fbc59cd1d5181630da128e7446a (patch) | |
| tree | 1ad0ffca49b0e716616a6d37f55dd71aedf4a99e /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 284be96cd58a231785f434e7fcff956184d7192f (diff) | |
VideoConfig: Limit the Stereo 3D option to the OpenGL backend.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 9962160486..af073fab5e 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -203,6 +203,7 @@ void VideoConfig::VerifyValidity() // TODO: Check iMaxAnisotropy value if (iAdapter < 0 || iAdapter > ((int)backend_info.Adapters.size() - 1)) iAdapter = 0; if (iMultisampleMode < 0 || iMultisampleMode >= (int)backend_info.AAModes.size()) iMultisampleMode = 0; + if (!backend_info.bSupportsStereoscopy) bStereo = false; } void VideoConfig::Save(const std::string& ini_file) |
