1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-19 23:42:09 +00:00

LibGL: Set sampler config to dirty if modifying tex env

This commit is contained in:
Jelle Raaijmakers 2022-03-06 01:39:26 +01:00 committed by Andreas Kling
parent ad1065e213
commit 4450aef175

View file

@ -2128,6 +2128,7 @@ void SoftwareGLContext::gl_tex_env(GLenum target, GLenum pname, GLfloat param)
case GL_REPLACE: case GL_REPLACE:
case GL_DECAL: case GL_DECAL:
m_active_texture_unit->set_env_mode(param_enum); m_active_texture_unit->set_env_mode(param_enum);
m_sampler_config_is_dirty = true;
break; break;
default: default:
// FIXME: We currently only support a subset of possible param values. Implement the rest! // FIXME: We currently only support a subset of possible param values. Implement the rest!