projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa/math: Avoid double promotion.
[mesa.git]
/
src
/
mesa
/
math
/
m_norm_tmp.h
diff --git
a/src/mesa/math/m_norm_tmp.h
b/src/mesa/math/m_norm_tmp.h
index d3ec1c22ecdbacb9b1eef31d4e96ad94ee1733aa..6f1db8d0bd0aeebe9852a3058476f5f7a77d9642 100644
(file)
--- 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.0
f
) {
m0 *= scale, m4 *= scale, m8 *= scale;
m1 *= scale, m5 *= scale, m9 *= scale;
m2 *= scale, m6 *= scale, m10 *= scale;