LibGL: Implement disabling GL_FOG

This commit is contained in:
Jelle Raaijmakers 2021-10-18 01:30:47 +02:00 committed by Brian Gianforcaro
commit b2627c8b74
Notes: sideshowbarker 2024-07-18 02:12:53 +09:00

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