diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-02-10 16:01:42 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-03-06 19:27:14 -0800 |
| commit | aab81d5aa0a1bd6a467c91d0dbba04a9dc40998f (patch) | |
| tree | 6f176792633fef3693183a5b795be65ce976bc8a /Source/Core/VideoCommon/GeometryShaderManager.cpp | |
| parent | 953e09428fac6384038c80b7337a71dbb8c00fbb (diff) | |
Convert XFMemory to BitField and enum class
Additionally a new ClipDisable union has been added (though it is not currently used by Dolphin).
Diffstat (limited to 'Source/Core/VideoCommon/GeometryShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/GeometryShaderManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/GeometryShaderManager.cpp b/Source/Core/VideoCommon/GeometryShaderManager.cpp index ca1dc992be..3b5300eb4a 100644 --- a/Source/Core/VideoCommon/GeometryShaderManager.cpp +++ b/Source/Core/VideoCommon/GeometryShaderManager.cpp @@ -45,7 +45,7 @@ void GeometryShaderManager::SetConstants() { s_projection_changed = false; - if (xfmem.projection.type == GX_PERSPECTIVE) + if (xfmem.projection.type == ProjectionType::Perspective) { float offset = (g_ActiveConfig.iStereoDepth / 1000.0f) * (g_ActiveConfig.iStereoDepthPercentage / 100.0f); |
