diff --git a/src/mesa/math/m_matrix.c b/src/mesa/math/m_matrix.c index 8a4b27f55bf..46f379b1f61 100644 --- a/src/mesa/math/m_matrix.c +++ b/src/mesa/math/m_matrix.c @@ -1400,7 +1400,7 @@ _math_matrix_analyse( GLmatrix *mat ) analyse_from_flags( mat ); } - if (mat->inv && (mat->flags & MAT_DIRTY_INVERSE)) { + if (mat->flags & MAT_DIRTY_INVERSE) { matrix_invert( mat ); mat->flags &= ~MAT_DIRTY_INVERSE; }