mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibGL: Implement GL_TEXTURE_ENV_COLOR
This sets a constant color in the texture's environment for the fixed function pipeline.
This commit is contained in:
parent
9b50d74df2
commit
474f9e9c69
Notes:
sideshowbarker
2024-07-17 04:32:07 +09:00
Author: https://github.com/gmta
Commit: 474f9e9c69
Pull-request: https://github.com/SerenityOS/serenity/pull/16766
8 changed files with 79 additions and 10 deletions
|
@ -73,7 +73,6 @@ struct FixedFunctionTextureEnvironment final {
|
|||
float alpha_scale { 1.f };
|
||||
Array<TextureSource, 3> alpha_source { TextureSource::Texture, TextureSource::Previous, TextureSource::Constant };
|
||||
u8 alpha_source_texture_stage { 0 };
|
||||
// FIXME: color is never actually updated
|
||||
FloatVector4 color { 0.f, 0.f, 0.f, 0.f };
|
||||
TextureEnvMode env_mode { TextureEnvMode::Modulate };
|
||||
TextureCombinator rgb_combinator { TextureCombinator::Modulate };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue