diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 05:07:34 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 20:58:30 +0100 |
commit | 2392b548bee87553b39f50c1159640b0dabc4b13 (patch) | |
tree | 5a1a5046be222eee078acc5f3a5e55d34abfaff6 /src/video_core/renderer_opengl/gl_state.cpp | |
parent | gl_state: Remove multisample tracking (diff) | |
download | yuzu-2392b548bee87553b39f50c1159640b0dabc4b13.tar yuzu-2392b548bee87553b39f50c1159640b0dabc4b13.tar.gz yuzu-2392b548bee87553b39f50c1159640b0dabc4b13.tar.bz2 yuzu-2392b548bee87553b39f50c1159640b0dabc4b13.tar.lz yuzu-2392b548bee87553b39f50c1159640b0dabc4b13.tar.xz yuzu-2392b548bee87553b39f50c1159640b0dabc4b13.tar.zst yuzu-2392b548bee87553b39f50c1159640b0dabc4b13.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index b726adfc7..f8325d6e7 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -117,13 +117,6 @@ void OpenGLState::ApplyClipDistances() { } } -void OpenGLState::ApplyFragmentColorClamp() { - if (UpdateValue(cur_state.fragment_color_clamp.enabled, fragment_color_clamp.enabled)) { - glClampColor(GL_CLAMP_FRAGMENT_COLOR_ARB, - fragment_color_clamp.enabled ? GL_TRUE : GL_FALSE); - } -} - void OpenGLState::ApplyRasterizerDiscard() { Enable(GL_RASTERIZER_DISCARD, cur_state.rasterizer_discard, rasterizer_discard); } @@ -317,7 +310,6 @@ void OpenGLState::Apply() { ApplyShaderProgram(); ApplyProgramPipeline(); ApplyClipDistances(); - ApplyFragmentColorClamp(); ApplyRasterizerDiscard(); ApplyColorMask(); ApplyViewport(); |