From eff4abcbd87d59aec62370dbe489d97f926f3638 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sat, 27 Dec 2003 20:03:26 +0000 Subject: [PATCH] Correct sense of ctx->_ForceEyeCoords (Felix Kuhling) --- src/mesa/main/light.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.30.2