projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7420e33
)
texenv: Add missing dependency on VP changes.
author
Eric Anholt
<eric@anholt.net>
Mon, 3 Aug 2009 19:21:03 +0000
(12:21 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 3 Aug 2009 19:54:17 +0000
(12:54 -0700)
Funny thing is I annotated this dependency in
e5f63c403b767f9974e8eb5d412c012b8a69287f
, but didn't actually use it.
src/mesa/main/state.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/state.c
b/src/mesa/main/state.c
index d8191ab5187894adadfef12d8ad9dec81aec660d..9a70031b7ad915cad39980962c67964a26d451fe 100644
(file)
--- a/
src/mesa/main/state.c
+++ b/
src/mesa/main/state.c
@@
-547,7
+547,8
@@
_mesa_update_state_locked( GLcontext *ctx )
/* Determine which state flags effect vertex/fragment program state */
if (ctx->FragmentProgram._MaintainTexEnvProgram) {
prog_flags |= (_NEW_TEXTURE | _NEW_FOG |
- _NEW_ARRAY | _NEW_LIGHT | _NEW_POINT | _NEW_RENDERMODE);
+ _NEW_ARRAY | _NEW_LIGHT | _NEW_POINT | _NEW_RENDERMODE |
+ _NEW_PROGRAM);
}
if (ctx->VertexProgram._MaintainTnlProgram) {
prog_flags |= (_NEW_ARRAY | _NEW_TEXTURE | _NEW_TEXTURE_MATRIX |