summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_norm_tmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/math/m_norm_tmp.h')
-rw-r--r--src/mesa/math/m_norm_tmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/math/m_norm_tmp.h b/src/mesa/math/m_norm_tmp.h
index d3ec1c22ec..6f1db8d0bd 100644
--- a/src/mesa/math/m_norm_tmp.h
+++ b/src/mesa/math/m_norm_tmp.h
@@ -80,7 +80,7 @@ TAG(transform_normalize_normals)( const GLmatrix *mat,
}
}
else {
- if (scale != 1.0) {
+ if (scale != 1.0f) {
m0 *= scale, m4 *= scale, m8 *= scale;
m1 *= scale, m5 *= scale, m9 *= scale;
m2 *= scale, m6 *= scale, m10 *= scale;