summaryrefslogtreecommitdiff
path: root/src/mesa/math
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-06-28 17:34:14 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-06-28 17:34:14 +0000
commit47a28c0b4d4ca27592e3cbb8e4b17d1cd8f7997d (patch)
tree0fdce5799b53ba8efcb3b30190fa746123cbee3e /src/mesa/math
parent206eda8b69ab3c63e9597015189f49d1bda9356f (diff)
restore normal length optimization in dlists
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_norm_tmp.h12
1 files changed, 4 insertions, 8 deletions
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;