diff options
author | Brian Paul <[email protected]> | 2012-07-25 07:33:19 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-07-26 13:59:44 -0600 |
commit | 66d9ac5ac7896538d38f57950888a0184c933925 (patch) | |
tree | 5633a18dcb754bcf292c3ff8d2667e7849262c77 /src/mesa/math/m_matrix.h | |
parent | 50db8129152f3d5ea8db13d55f82673d53bf1b8f (diff) |
mesa: remove _math_matrix_alloc_inv()
Always allocate space for the inverse matrix in _math_matrix_ctr()
since we were always calling _math_matrix_alloc_inv() anyway.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/math/m_matrix.h')
-rw-r--r-- | src/mesa/math/m_matrix.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/math/m_matrix.h b/src/mesa/math/m_matrix.h index e8e48aab75a..9f4ea258640 100644 --- a/src/mesa/math/m_matrix.h +++ b/src/mesa/math/m_matrix.h @@ -74,7 +74,7 @@ enum GLmatrixtype { */ typedef struct { GLfloat *m; /**< 16 matrix elements (16-byte aligned) */ - GLfloat *inv; /**< optional 16-element inverse (16-byte aligned) */ + GLfloat *inv; /**< 16-element inverse (16-byte aligned) */ GLuint flags; /**< possible values determined by (of \link * MatFlags MAT_FLAG_* flags\endlink) */ @@ -91,9 +91,6 @@ extern void _math_matrix_dtr( GLmatrix *m ); extern void -_math_matrix_alloc_inv( GLmatrix *m ); - -extern void _math_matrix_mul_matrix( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b ); extern void |