From ed9c14e0d5ba9b73b4ab4fa30d7d80ad49c5ead4 Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 20 Dec 2014 19:13:34 +0100 Subject: [PATCH] OGL: Fix OGL3 with stereo enabled --- Source/Core/VideoBackends/OGL/main.cpp | 3 ++- Source/Core/VideoCommon/VideoConfig.cpp | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/OGL/main.cpp b/Source/Core/VideoBackends/OGL/main.cpp index c4c966458e..8642d78cc1 100644 --- a/Source/Core/VideoBackends/OGL/main.cpp +++ b/Source/Core/VideoBackends/OGL/main.cpp @@ -154,7 +154,8 @@ static void InitBackendInfo() void VideoBackend::ShowConfig(void *_hParent) { - InitBackendInfo(); + if (!s_BackendInitialized) + InitBackendInfo(); Host_ShowVideoConfig(_hParent, GetDisplayName(), "gfx_opengl"); } diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index d0f02dd327..63f55ba612 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -118,6 +118,8 @@ void VideoConfig::Load(const std::string& ini_file) // triplicated for each video backend. if (bEnableShaderDebugging) OSD::AddMessage("Warning: Shader Debugging is enabled, performance will suffer heavily", 15000); + + VerifyValidity(); } void VideoConfig::GameIniLoad()