From 0d190913bfa55cd22873f0435493f204621fe0cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 4 Jul 2017 23:34:09 +0200 Subject: [PATCH] mesa: flag _NEW_TEXTURE_OBJECT for GL_TEXTURE_LOD_BIAS_EXT MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Only the compatibility profile can set it. It was done incorrectly when we split _NEW_TEXTURE. Reviewed-by: Nicolai Hähnle --- src/mesa/main/texenv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/texenv.c b/src/mesa/main/texenv.c index ee5171c5c6a..2fcaf7c07e4 100644 --- a/src/mesa/main/texenv.c +++ b/src/mesa/main/texenv.c @@ -444,7 +444,7 @@ _mesa_TexEnvfv( GLenum target, GLenum pname, const GLfloat *param ) if (pname == GL_TEXTURE_LOD_BIAS_EXT) { if (texUnit->LodBias == param[0]) return; - FLUSH_VERTICES(ctx, _NEW_TEXTURE_STATE); + FLUSH_VERTICES(ctx, _NEW_TEXTURE_OBJECT); texUnit->LodBias = param[0]; } else { -- 2.30.2