diff options
author | Stephan Unverwerth <s.unverwerth@serenityos.org> | 2021-05-29 17:54:40 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-29 18:17:24 +0100 |
commit | 9334697c597acea2ef8cf18455e6593aa0c9ea2c (patch) | |
tree | 74d6e6cc3e9ac7b2c64c689871a1a28d0c78bb2c /Userland/Libraries/LibGL | |
parent | 9b4edacd8ec3cba243975befb368e17baa0f7ca1 (diff) | |
download | serenity-9334697c597acea2ef8cf18455e6593aa0c9ea2c.zip |
LibGL: Update rasterizer options in glDisable()
This bug must have been introduced by copy-pasting.
Diffstat (limited to 'Userland/Libraries/LibGL')
-rw-r--r-- | Userland/Libraries/LibGL/SoftwareGLContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGL/SoftwareGLContext.cpp b/Userland/Libraries/LibGL/SoftwareGLContext.cpp index 317cc70c58..a5ea6e6cb4 100644 --- a/Userland/Libraries/LibGL/SoftwareGLContext.cpp +++ b/Userland/Libraries/LibGL/SoftwareGLContext.cpp @@ -667,12 +667,12 @@ void SoftwareGLContext::gl_disable(GLenum capability) case GL_BLEND: m_blend_enabled = false; rasterizer_options.enable_blending = false; - update_rasterizer_options = false; + update_rasterizer_options = true; break; case GL_ALPHA_TEST: m_alpha_test_enabled = false; rasterizer_options.enable_alpha_test = false; - update_rasterizer_options = false; + update_rasterizer_options = true; break; default: RETURN_WITH_ERROR_IF(true, GL_INVALID_ENUM); |