From 7e8f96f0d3649f20483a639ac37f489737cba500 Mon Sep 17 00:00:00 2001 From: Jules Blok Date: Wed, 17 Dec 2014 00:26:03 +0100 Subject: OGL: Don't generate a geometry shader if the backend doesn't support it. This commit repurposes the bSupportsStereoscopy flag as the bSupportsGeometryShaders flag. --- Source/Core/VideoCommon/VideoConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/VideoConfig.cpp') diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 2b6025f13e..d0f02dd327 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -214,7 +214,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) iStereoMode = 0; + if (!backend_info.bSupportsGeometryShaders) iStereoMode = 0; } void VideoConfig::Save(const std::string& ini_file) -- cgit v1.2.3