LibGL: Update rasterizer options in glDisable()

This bug must have been introduced by copy-pasting.
This commit is contained in:
Stephan Unverwerth 2021-05-29 17:54:40 +02:00 committed by Linus Groh
parent 9b4edacd8e
commit 9334697c59
Notes: sideshowbarker 2024-07-18 17:12:33 +09:00

View file

@ -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);