1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:47:35 +00:00

LibGL: Implement disabling GL_FOG

This commit is contained in:
Jelle Raaijmakers 2021-10-18 01:30:47 +02:00 committed by Brian Gianforcaro
parent abaac02c88
commit b2627c8b74

View file

@ -585,6 +585,10 @@ void SoftwareGLContext::gl_disable(GLenum capability)
rasterizer_options.enable_alpha_test = false;
update_rasterizer_options = true;
break;
case GL_FOG:
rasterizer_options.fog_enabled = false;
update_rasterizer_options = true;
break;
default:
RETURN_WITH_ERROR_IF(true, GL_INVALID_ENUM);
}