diff options
author | Brian Paul <[email protected]> | 2001-02-14 23:00:42 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-02-14 23:00:42 +0000 |
commit | 4e52e192b2507a001817c8172713016cef69206b (patch) | |
tree | 3facf27274dd830265466105cad5200201db238f | |
parent | 4de3ded28aed48a50b97ecf72f12737267549034 (diff) |
fixed a CI-mode spot light conformance failure, but still not clear why
-rw-r--r-- | src/mesa/tnl/t_vb_lighttmp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_lighttmp.h b/src/mesa/tnl/t_vb_lighttmp.h index 3aa9cf32691..8cbb0735671 100644 --- a/src/mesa/tnl/t_vb_lighttmp.h +++ b/src/mesa/tnl/t_vb_lighttmp.h @@ -1,4 +1,4 @@ -/* $Id: t_vb_lighttmp.h,v 1.5 2001/02/13 23:59:34 brianp Exp $ */ +/* $Id: t_vb_lighttmp.h,v 1.6 2001/02/14 23:00:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -894,7 +894,10 @@ static void TAG(light_ci)( GLcontext *ctx, } else if (light->_Flags & LIGHT_POSITIONAL) { h = VP; - ACC_3V(h, ctx->_EyeZDir); + /* Strangely, disabling this addition fixes a conformance + * problem. If this code is enabled, l_sed.c fails. + */ + /*ACC_3V(h, ctx->_EyeZDir);*/ NORMALIZE_3FV(h); } else { |