From: Brian Date: Sat, 3 Feb 2007 17:31:16 +0000 (-0700) Subject: Add _NEW_PROGRAM flag to _MESA_NEW_NEED_EYE_COORDS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68fc4ff1d7f749670684119647e0ef945d23dfa9;p=mesa.git 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. --- 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 | \