aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2003-12-27 20:03:26 +0000
committerKeith Whitwell <[email protected]>2003-12-27 20:03:26 +0000
commiteff4abcbd87d59aec62370dbe489d97f926f3638 (patch)
treee6dac57bb8e326683790241ca7ef9bd1efd39a68
parentf903e1142d2c1c22071c4f620229de27e73199a2 (diff)
Correct sense of ctx->_ForceEyeCoords (Felix Kuhling)
-rw-r--r--src/mesa/main/light.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c
index 4febf6faaa5..44feeb507e9 100644
--- a/src/mesa/main/light.c
+++ b/src/mesa/main/light.c
@@ -1180,7 +1180,7 @@ _mesa_update_tnl_spaces( GLcontext *ctx, GLuint new_state )
void
_mesa_allow_light_in_model( GLcontext *ctx, GLboolean flag )
{
- ctx->_ForceEyeCoords = flag;
+ ctx->_ForceEyeCoords = !flag;
ctx->NewState |= _NEW_POINT; /* one of the bits from
* _MESA_NEW_NEED_EYE_COORDS.
*/