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:30:50 -07:00
parent 5aa997dafb
commit 49a17a45fb
1 changed files with 1 additions and 0 deletions

View File

@ -2674,6 +2674,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 | \