Mesa (master): texenv: Add missing dependency on VP changes.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Aug 3 19:59:44 UTC 2009
Module: Mesa
Branch: master
Commit: 03187571b63d97e3d1406d329c5e760e16ef3181
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03187571b63d97e3d1406d329c5e760e16ef3181
Author: Eric Anholt <eric at anholt.net>
Date: Mon Aug 3 12:21:03 2009 -0700
texenv: Add missing dependency on VP changes.
Funny thing is I annotated this dependency in
e5f63c403b767f9974e8eb5d412c012b8a69287f, but didn't actually use it.
---
src/mesa/main/state.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index d8191ab..9a70031 100644
--- 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 |
More information about the mesa-commit
mailing list