From: Keith Whitwell Date: Sat, 27 Dec 2003 20:03:26 +0000 (+0000) Subject: Correct sense of ctx->_ForceEyeCoords (Felix Kuhling) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eff4abcbd87d59aec62370dbe489d97f926f3638;p=mesa.git Correct sense of ctx->_ForceEyeCoords (Felix Kuhling) --- 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. */