aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/math/m_matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/math/m_matrix.c')
-rw-r--r--mesalib/src/mesa/math/m_matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/math/m_matrix.c b/mesalib/src/mesa/math/m_matrix.c
index 00a6c814f..b9f22d796 100644
--- a/mesalib/src/mesa/math/m_matrix.c
+++ b/mesalib/src/mesa/math/m_matrix.c
@@ -856,7 +856,7 @@ _math_matrix_rotate( GLmatrix *mat,
}
if (!optimized) {
- const GLfloat mag = SQRTF(x * x + y * y + z * z);
+ const GLfloat mag = sqrtf(x * x + y * y + z * z);
if (mag <= 1.0e-4) {
/* no rotation, leave mat as-is */