diff options
author | Brian <[email protected]> | 2007-02-03 10:30:50 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-03 10:30:50 -0700 |
commit | 49a17a45fb893f0b2e93f27b16d54fe86f51c08c (patch) | |
tree | a693519086eb212fe26beba29a4b9bff7d0f4ed7 /src/mesa/main | |
parent | 5aa997dafbe9cccba2c837d64ddc06e495f6fd71 (diff) |
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.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 2ad37d3a8d7..e8f0f45d399 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -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 | \ |