summaryrefslogtreecommitdiff
path: root/src/mesa/main/light.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-12-27 20:03:26 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-12-27 20:03:26 +0000
commiteff4abcbd87d59aec62370dbe489d97f926f3638 (patch)
treee6dac57bb8e326683790241ca7ef9bd1efd39a68 /src/mesa/main/light.c
parentf903e1142d2c1c22071c4f620229de27e73199a2 (diff)
Correct sense of ctx->_ForceEyeCoords (Felix Kuhling)
Diffstat (limited to 'src/mesa/main/light.c')
-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 4febf6faaa..44feeb507e 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.
*/