mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-21 03:26:02 +01:00
VideoConfig: Turn off stereoscopy when Real XFB is enabled.
This commit is contained in:
parent
4a86234a79
commit
9590ea0cf6
@ -217,11 +217,20 @@ void VideoConfig::VerifyValidity()
|
|||||||
if (iAdapter < 0 || iAdapter > ((int)backend_info.Adapters.size() - 1)) iAdapter = 0;
|
if (iAdapter < 0 || iAdapter > ((int)backend_info.Adapters.size() - 1)) iAdapter = 0;
|
||||||
if (iMultisampleMode < 0 || iMultisampleMode >= (int)backend_info.AAModes.size()) iMultisampleMode = 0;
|
if (iMultisampleMode < 0 || iMultisampleMode >= (int)backend_info.AAModes.size()) iMultisampleMode = 0;
|
||||||
|
|
||||||
if (iStereoMode > 0 && !backend_info.bSupportsGeometryShaders)
|
if (iStereoMode > 0)
|
||||||
|
{
|
||||||
|
if (!backend_info.bSupportsGeometryShaders)
|
||||||
{
|
{
|
||||||
OSD::AddMessage("Stereoscopic 3D isn't supported by your GPU, support for OpenGL 3.2 is required.", 10000);
|
OSD::AddMessage("Stereoscopic 3D isn't supported by your GPU, support for OpenGL 3.2 is required.", 10000);
|
||||||
iStereoMode = 0;
|
iStereoMode = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (bUseRealXFB)
|
||||||
|
{
|
||||||
|
OSD::AddMessage("Stereoscopic 3D isn't supported with Real XFB, turning off stereoscopy.", 10000);
|
||||||
|
iStereoMode = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoConfig::Save(const std::string& ini_file)
|
void VideoConfig::Save(const std::string& ini_file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user