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 <nicolai.haehnle@amd.com>
This commit is contained in:
parent
32c79cdacc
commit
0d190913bf
|
@ -444,7 +444,7 @@ _mesa_TexEnvfv( GLenum target, GLenum pname, const GLfloat *param )
|
||||||
if (pname == GL_TEXTURE_LOD_BIAS_EXT) {
|
if (pname == GL_TEXTURE_LOD_BIAS_EXT) {
|
||||||
if (texUnit->LodBias == param[0])
|
if (texUnit->LodBias == param[0])
|
||||||
return;
|
return;
|
||||||
FLUSH_VERTICES(ctx, _NEW_TEXTURE_STATE);
|
FLUSH_VERTICES(ctx, _NEW_TEXTURE_OBJECT);
|
||||||
texUnit->LodBias = param[0];
|
texUnit->LodBias = param[0];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue