diff options
author | Marek Olšák <[email protected]> | 2017-07-04 23:34:09 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-07-17 15:27:14 +0200 |
commit | 0d190913bfa55cd22873f0435493f204621fe0cd (patch) | |
tree | 5a8c9526874e5ac7320b88d35656ba4e53e2c3a1 /src/mesa/main/texenv.c | |
parent | 32c79cdaccec9aaa97528c6a51312bcc9078eb35 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/texenv.c')
-rw-r--r-- | src/mesa/main/texenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |