From 47a28c0b4d4ca27592e3cbb8e4b17d1cd8f7997d Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 28 Jun 2001 17:34:14 +0000 Subject: restore normal length optimization in dlists --- src/mesa/math/m_norm_tmp.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/mesa/math') diff --git a/src/mesa/math/m_norm_tmp.h b/src/mesa/math/m_norm_tmp.h index bab84d24f5..cc5ff00b3d 100644 --- a/src/mesa/math/m_norm_tmp.h +++ b/src/mesa/math/m_norm_tmp.h @@ -1,4 +1,4 @@ -/* $Id: m_norm_tmp.h,v 1.7 2001/03/30 14:44:43 gareth Exp $ */ +/* $Id: m_norm_tmp.h,v 1.8 2001/06/28 17:34:14 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -140,13 +140,9 @@ TAG(transform_normalize_normals_no_rot)( const GLmatrix *mat, } } else { - /* scale has been snapped to 1.0 if it is close. - */ - if (scale != 1.0) { - m0 *= scale; - m5 *= scale; - m10 *= scale; - } + m0 *= scale; + m5 *= scale; + m10 *= scale; STRIDE_LOOP { GLfloat tx, ty, tz; -- cgit v1.2.3