projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88c8d7
)
mesa: move _GenFlags = 0x0 to texgen loop
author
Brian Paul
<brianp@vmware.com>
Fri, 27 Feb 2009 23:44:28 +0000
(16:44 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 28 Feb 2009 18:09:13 +0000
(11:09 -0700)
src/mesa/main/texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstate.c
b/src/mesa/main/texstate.c
index 3e6b09baa167c677e4e406b6f8e5c51f1634c105..e25c9e732c303b1a75165b12b2a20877123cbae4 100644
(file)
--- a/
src/mesa/main/texstate.c
+++ b/
src/mesa/main/texstate.c
@@
-550,7
+550,6
@@
update_texture_state( GLcontext *ctx )
texUnit->_Current = NULL;
texUnit->_ReallyEnabled = 0x0;
- texUnit->_GenFlags = 0x0;
/* Get the bitmask of texture target enables.
* enableBits will be a mask of the TEXTURE_*_BIT flags indicating
@@
-609,6
+608,8
@@
update_texture_state( GLcontext *ctx )
for (unit = 0; unit < ctx->Const.MaxTextureCoordUnits; unit++) {
struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit];
+ texUnit->_GenFlags = 0x0;
+
if (!(ctx->Texture._EnabledCoordUnits & (1 << unit)))
continue;