From: Marek Olšák Date: Tue, 4 Jul 2017 21:34:09 +0000 (+0200) Subject: mesa: flag _NEW_TEXTURE_OBJECT for GL_TEXTURE_LOD_BIAS_EXT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d190913bfa55cd22873f0435493f204621fe0cd;p=mesa.git mesa: flag _NEW_TEXTURE_OBJECT for GL_TEXTURE_LOD_BIAS_EXT Only the compatibility profile can set it. It was done incorrectly when we split _NEW_TEXTURE. Reviewed-by: Nicolai Hähnle --- 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 {