diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-12-26 04:25:53 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-02-28 20:49:20 +0100 |
commit | a0321b984fc03610ad7b20d2ee345fd978103b19 (patch) | |
tree | 71aea201f3a60a3cacc933ba9d322066b27fe89d /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | gl_state: Remove alpha test tracking (diff) | |
download | yuzu-a0321b984fc03610ad7b20d2ee345fd978103b19.tar yuzu-a0321b984fc03610ad7b20d2ee345fd978103b19.tar.gz yuzu-a0321b984fc03610ad7b20d2ee345fd978103b19.tar.bz2 yuzu-a0321b984fc03610ad7b20d2ee345fd978103b19.tar.lz yuzu-a0321b984fc03610ad7b20d2ee345fd978103b19.tar.xz yuzu-a0321b984fc03610ad7b20d2ee345fd978103b19.tar.zst yuzu-a0321b984fc03610ad7b20d2ee345fd978103b19.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index 0879a5fb1..affc6137a 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -573,8 +573,9 @@ void RendererOpenGL::DrawScreenTriangles(const ScreenInfo& screen_info, float x, state.Apply(); // TODO: Signal state tracker about these changes - glDisable(GL_ALPHA_TEST); glEnable(GL_CULL_FACE); + glDisable(GL_ALPHA_TEST); + glDisable(GL_POLYGON_OFFSET_FILL); glCullFace(GL_BACK); glFrontFace(GL_CW); |