mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-28 14:02:51 +00:00
LibGL: Set sampler config to dirty if modifying tex env
This commit is contained in:
parent
ad1065e213
commit
4450aef175
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/gmta
Commit: 4450aef175
Pull-request: https://github.com/SerenityOS/serenity/pull/12900
Reviewed-by: https://github.com/sunverwerth ✅
1 changed files with 1 additions and 0 deletions
|
@ -2128,6 +2128,7 @@ void SoftwareGLContext::gl_tex_env(GLenum target, GLenum pname, GLfloat param)
|
|||
case GL_REPLACE:
|
||||
case GL_DECAL:
|
||||
m_active_texture_unit->set_env_mode(param_enum);
|
||||
m_sampler_config_is_dirty = true;
|
||||
break;
|
||||
default:
|
||||
// FIXME: We currently only support a subset of possible param values. Implement the rest!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue