From 4450aef175ca8d6fb33e6d34dbcc92f30bef6cd5 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Sun, 6 Mar 2022 01:39:26 +0100 Subject: [PATCH] LibGL: Set sampler config to dirty if modifying tex env --- Userland/Libraries/LibGL/SoftwareGLContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibGL/SoftwareGLContext.cpp b/Userland/Libraries/LibGL/SoftwareGLContext.cpp index dea4cd7fe16..9d0fef9c948 100644 --- a/Userland/Libraries/LibGL/SoftwareGLContext.cpp +++ b/Userland/Libraries/LibGL/SoftwareGLContext.cpp @@ -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!