diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 06:20:08 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 21:26:26 +0100 |
commit | 1eee891f6e73423a9aa6147f980be5aea799e7ce (patch) | |
tree | 24a487713df08f8768f4f9d249f291cf962de02f /src/video_core/renderer_opengl/gl_state.cpp | |
parent | gl_state: Remove rasterizer disable tracking (diff) | |
download | yuzu-1eee891f6e73423a9aa6147f980be5aea799e7ce.tar yuzu-1eee891f6e73423a9aa6147f980be5aea799e7ce.tar.gz yuzu-1eee891f6e73423a9aa6147f980be5aea799e7ce.tar.bz2 yuzu-1eee891f6e73423a9aa6147f980be5aea799e7ce.tar.lz yuzu-1eee891f6e73423a9aa6147f980be5aea799e7ce.tar.xz yuzu-1eee891f6e73423a9aa6147f980be5aea799e7ce.tar.zst yuzu-1eee891f6e73423a9aa6147f980be5aea799e7ce.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 96c3f40f4..5505fee73 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -106,13 +106,6 @@ void OpenGLState::ApplyProgramPipeline() { } } -void OpenGLState::ApplyClipDistances() { - for (std::size_t i = 0; i < clip_distance.size(); ++i) { - Enable(GL_CLIP_DISTANCE0 + static_cast<GLenum>(i), cur_state.clip_distance[i], - clip_distance[i]); - } -} - void OpenGLState::ApplyStencilTest() { Enable(GL_STENCIL_TEST, cur_state.stencil.test_enabled, stencil.test_enabled); @@ -249,7 +242,6 @@ void OpenGLState::Apply() { ApplyFramebufferState(); ApplyShaderProgram(); ApplyProgramPipeline(); - ApplyClipDistances(); ApplyStencilTest(); ApplyBlending(); ApplyTextures(); |