mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-12 14:12:52 +00:00
LibGL: Update rasterizer options in glDisable()
This bug must have been introduced by copy-pasting.
This commit is contained in:
parent
9b4edacd8e
commit
9334697c59
Notes:
sideshowbarker
2024-07-18 17:12:33 +09:00
Author: https://github.com/sunverwerth
Commit: 9334697c59
Pull-request: https://github.com/SerenityOS/serenity/pull/7563
Reviewed-by: https://github.com/IdanHo
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue