summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-03 10:31:16 -0700
committerBrian <[email protected]>2007-02-03 10:31:16 -0700
commit68fc4ff1d7f749670684119647e0ef945d23dfa9 (patch)
tree9b3a634d83fd895c842a0edf4f67952c54706f29 /src/mesa
parentfee9bbe4751eb11947c1d739fbf1dd5e352fc433 (diff)
Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS.
This fixes a segfault in the texgen code that can occur after we've disabled a vertex program.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 7cd407a2742..76b36d60f1b 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2746,6 +2746,7 @@ struct matrix_stack
#define _MESA_NEW_NEED_EYE_COORDS (_NEW_LIGHT | \
_NEW_TEXTURE | \
_NEW_POINT | \
+ _NEW_PROGRAM | \
_NEW_MODELVIEW)
#define _MESA_NEW_NEED_NORMALS (_NEW_LIGHT | \