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:
parent
5aa997dafb
commit
49a17a45fb
|
@ -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 | \
|
||||
|
|
Loading…
Reference in New Issue