summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GeometryShaderGen.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-11-10 22:55:00 -0500
committerLioncash <mathew1800@gmail.com>2017-11-18 23:19:53 -0500
commit5337e58284aa9c727cdd66a1a79d968861a70839 (patch)
tree231e365d38e181cd136ff55c5906390b44acb986 /Source/Core/VideoCommon/GeometryShaderGen.cpp
parent10697bcbe3c84599f11f49dfc38358a2e9b7140f (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/GeometryShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/GeometryShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/GeometryShaderGen.cpp b/Source/Core/VideoCommon/GeometryShaderGen.cpp
index 98335386fa..f5b7b1b35e 100644
--- a/Source/Core/VideoCommon/GeometryShaderGen.cpp
+++ b/Source/Core/VideoCommon/GeometryShaderGen.cpp
@@ -20,7 +20,7 @@ constexpr std::array<const char*, 4> primitives_d3d = {{"point", "line", "triang
bool geometry_shader_uid_data::IsPassthrough() const
{
- const bool stereo = g_ActiveConfig.iStereoMode > 0;
+ const bool stereo = g_ActiveConfig.stereo_mode != StereoMode::Off;
const bool wireframe = g_ActiveConfig.bWireFrame;
return primitive_type >= static_cast<u32>(PrimitiveType::Triangles) && !stereo && !wireframe;
}