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:
@@ -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 | \
|
||||
|
||||
Reference in New Issue
Block a user