r5xx: Fixup emit_tex, add debugging info, enable temp temps.
[mesa.git] / src / mesa / math / m_norm_tmp.h
index 5f24f5a2a2768e69c6fa9305e61603031a5c8bde..a20cb05017dac337a11e3733910df2b2736702e5 100644 (file)
@@ -1,4 +1,3 @@
-/* $Id: m_norm_tmp.h,v 1.14 2003/03/04 16:34:01 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -324,9 +323,9 @@ TAG(normalize_normals)( const GLmatrix *mat,
         GLdouble len = x * x + y * y + z * z;
         if (len > 1e-50) {
            len = INV_SQRTF(len);
-           out[i][0] = x * len;
-           out[i][1] = y * len;
-           out[i][2] = z * len;
+           out[i][0] = (GLfloat)(x * len);
+           out[i][1] = (GLfloat)(y * len);
+           out[i][2] = (GLfloat)(z * len);
         }
         else {
            out[i][0] = x;