VideoConfig: Limit the Stereo 3D option to the OpenGL backend.

This commit is contained in:
Jules Blok
2014-10-29 16:26:28 +01:00
parent 284be96cd5
commit 4fd943aedd
5 changed files with 7 additions and 1 deletions

View File

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