mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:17:44 +00:00
LibGL: Implement fog in GL_LINEAR
mode
The `GL_LINEAR` param was erroneously not picked up on. Also implement support for `GL_FOG_START` and `GL_FOG_END`, and make sure that the `gl_fog*` family of functions are optionally registered with the active list.
This commit is contained in:
parent
5e01ca29c5
commit
9bc8587c0d
2 changed files with 15 additions and 6 deletions
|
@ -321,7 +321,10 @@ private:
|
|||
decltype(&SoftwareGLContext::gl_copy_tex_image_2d),
|
||||
decltype(&SoftwareGLContext::gl_rect),
|
||||
decltype(&SoftwareGLContext::gl_tex_gen),
|
||||
decltype(&SoftwareGLContext::gl_tex_gen_floatv)>;
|
||||
decltype(&SoftwareGLContext::gl_tex_gen_floatv),
|
||||
decltype(&SoftwareGLContext::gl_fogf),
|
||||
decltype(&SoftwareGLContext::gl_fogfv),
|
||||
decltype(&SoftwareGLContext::gl_fogi)>;
|
||||
|
||||
using ExtraSavedArguments = Variant<
|
||||
FloatMatrix4x4>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue