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/VideoBackends/OGL/TextureCache.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/VideoBackends/OGL/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/TextureCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp index aa2c60976b..8e4811bbc1 100644 --- a/Source/Core/VideoBackends/OGL/TextureCache.cpp +++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp @@ -178,7 +178,7 @@ bool TextureCache::CompileShaders() " gl_Position = vec4(rawpos*2.0-1.0, 0.0, 1.0);\n" "}\n"; - const std::string geo_program = g_ActiveConfig.iStereoMode > 0 ? + const std::string geo_program = g_ActiveConfig.stereo_mode != StereoMode::Off ? "layout(triangles) in;\n" "layout(triangle_strip, max_vertices = 6) out;\n" "in vec3 v_uv0[3];\n" |
