diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-11-10 22:55:00 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-11-18 23:19:53 -0500 |
| commit | 5337e58284aa9c727cdd66a1a79d968861a70839 (patch) | |
| tree | 231e365d38e181cd136ff55c5906390b44acb986 /Source/Core/VideoCommon/PostProcessing.cpp | |
| parent | 10697bcbe3c84599f11f49dfc38358a2e9b7140f (diff) | |
VideoConfig: Make StereoMode an enum class
Makes for more strongly-typed identifiers (and doesn't pollute
surrounding namespaces)
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PostProcessing.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.cpp b/Source/Core/VideoCommon/PostProcessing.cpp index 0575402dd1..027ad85ab5 100644 --- a/Source/Core/VideoCommon/PostProcessing.cpp +++ b/Source/Core/VideoCommon/PostProcessing.cpp @@ -70,7 +70,8 @@ std::string PostProcessingShaderConfiguration::LoadShader(std::string shader) shader = g_ActiveConfig.sPostProcessingShader; m_current_shader = shader; - const std::string sub_dir = (g_Config.iStereoMode == STEREO_ANAGLYPH) ? ANAGLYPH_DIR DIR_SEP : ""; + const std::string sub_dir = + (g_Config.stereo_mode == StereoMode::Anaglyph) ? ANAGLYPH_DIR DIR_SEP : ""; // loading shader code std::string code; |
