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.
This commit is contained in:
Brian
2007-02-03 10:31:16 -07:00
parent fee9bbe475
commit 68fc4ff1d7
+1
View File
@@ -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 | \