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:
parent
abaac02c88
commit
b2627c8b74
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue