diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 01:00:38 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 20:51:45 +0100 |
commit | 0f343d32c41efc411fddb1a66a9f11fb68eebf06 (patch) | |
tree | 15187a755644c036af4b8463a0ed18b935b9e2f0 /src/video_core/renderer_opengl/gl_state.cpp | |
parent | gl_state: Remove logic op tracker (diff) | |
download | yuzu-0f343d32c41efc411fddb1a66a9f11fb68eebf06.tar yuzu-0f343d32c41efc411fddb1a66a9f11fb68eebf06.tar.gz yuzu-0f343d32c41efc411fddb1a66a9f11fb68eebf06.tar.bz2 yuzu-0f343d32c41efc411fddb1a66a9f11fb68eebf06.tar.lz yuzu-0f343d32c41efc411fddb1a66a9f11fb68eebf06.tar.xz yuzu-0f343d32c41efc411fddb1a66a9f11fb68eebf06.tar.zst yuzu-0f343d32c41efc411fddb1a66a9f11fb68eebf06.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index ddc534eb4..49a15f82f 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -197,15 +197,6 @@ void OpenGLState::ApplyDepth() { } } -void OpenGLState::ApplyPrimitiveRestart() { - Enable(GL_PRIMITIVE_RESTART, cur_state.primitive_restart.enabled, primitive_restart.enabled); - - if (cur_state.primitive_restart.index != primitive_restart.index) { - cur_state.primitive_restart.index = primitive_restart.index; - glPrimitiveRestartIndex(primitive_restart.index); - } -} - void OpenGLState::ApplyStencilTest() { Enable(GL_STENCIL_TEST, cur_state.stencil.test_enabled, stencil.test_enabled); @@ -390,7 +381,6 @@ void OpenGLState::Apply() { ApplyStencilTest(); ApplySRgb(); ApplyDepth(); - ApplyPrimitiveRestart(); ApplyBlending(); ApplyTextures(); ApplySamplers(); |