diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-18 07:25:28 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-18 07:25:28 +0100 |
commit | a1b1ea47ed22cc716243738023da2b6ceb2f7a46 (patch) | |
tree | c9cc3956d2aa69ac98256ad8273c6c277dd6fa06 /src/video_core/renderer_opengl | |
parent | Merge pull request #2020 from otaviopace/remove-spaces (diff) | |
download | yuzu-a1b1ea47ed22cc716243738023da2b6ceb2f7a46.tar yuzu-a1b1ea47ed22cc716243738023da2b6ceb2f7a46.tar.gz yuzu-a1b1ea47ed22cc716243738023da2b6ceb2f7a46.tar.bz2 yuzu-a1b1ea47ed22cc716243738023da2b6ceb2f7a46.tar.lz yuzu-a1b1ea47ed22cc716243738023da2b6ceb2f7a46.tar.xz yuzu-a1b1ea47ed22cc716243738023da2b6ceb2f7a46.tar.zst yuzu-a1b1ea47ed22cc716243738023da2b6ceb2f7a46.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 73567eb8c..27d259f51 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -365,7 +365,7 @@ void RasterizerOpenGL::SetupShaders(GLenum primitive_mode) { // (sometimes it's half the screen, sometimes three quarters). To avoid this, enable the // clip distances only when it's written by a shader stage. for (std::size_t i = 0; i < Maxwell::NumClipDistances; ++i) { - clip_distances[i] |= shader->GetShaderEntries().clip_distances[i]; + clip_distances[i] = clip_distances[i] || shader->GetShaderEntries().clip_distances[i]; } // When VertexA is enabled, we have dual vertex shaders |