diff options
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/PostProcessing.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/PostProcessing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/PostProcessing.cpp b/Source/Plugins/Plugin_VideoOGL/Src/PostProcessing.cpp index 87099a88d3..93ebe767de 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/PostProcessing.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/PostProcessing.cpp @@ -45,11 +45,11 @@ void ReloadShader() bool ApplyShader() { - if (s_currentShader != "User/Shaders/" + g_Config.sPostProcessingShader + ".txt") + if (s_currentShader != "User/Shaders/" + g_ActiveConfig.sPostProcessingShader + ".txt") { // Set immediately to prevent endless recompiles on failure. - if (!g_Config.sPostProcessingShader.empty()) - s_currentShader = "User/Shaders/" + g_Config.sPostProcessingShader + ".txt"; + if (!g_ActiveConfig.sPostProcessingShader.empty()) + s_currentShader = "User/Shaders/" + g_ActiveConfig.sPostProcessingShader + ".txt"; else s_currentShader.clear(); |
