From 9334697c597acea2ef8cf18455e6593aa0c9ea2c Mon Sep 17 00:00:00 2001 From: Stephan Unverwerth Date: Sat, 29 May 2021 17:54:40 +0200 Subject: [PATCH] LibGL: Update rasterizer options in glDisable() This bug must have been introduced by copy-pasting. --- Userland/Libraries/LibGL/SoftwareGLContext.cpp | 4 ++-- 1 file 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);