projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c79cd
)
mesa: flag _NEW_TEXTURE_OBJECT for GL_TEXTURE_LOD_BIAS_EXT
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 4 Jul 2017 21:34:09 +0000
(23:34 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 17 Jul 2017 13:27:14 +0000
(15:27 +0200)
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>
src/mesa/main/texenv.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texenv.c
b/src/mesa/main/texenv.c
index ee5171c5c6afc3eb19ef0630ed7c3b038c01bb39..2fcaf7c07e4f523ebdedba2652d88ca973443977 100644
(file)
--- 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 {