mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:27:44 +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;
|
rasterizer_options.enable_alpha_test = false;
|
||||||
update_rasterizer_options = true;
|
update_rasterizer_options = true;
|
||||||
break;
|
break;
|
||||||
|
case GL_FOG:
|
||||||
|
rasterizer_options.fog_enabled = false;
|
||||||
|
update_rasterizer_options = true;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
RETURN_WITH_ERROR_IF(true, GL_INVALID_ENUM);
|
RETURN_WITH_ERROR_IF(true, GL_INVALID_ENUM);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue