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 <kenneth@whitecape.org>
This commit is contained in:
@@ -323,7 +323,6 @@ _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[],
|
||||
modifier == STATE_MATRIX_INVTRANS) {
|
||||
/* Be sure inverse is up to date:
|
||||
*/
|
||||
_math_matrix_alloc_inv( (GLmatrix *) matrix );
|
||||
_math_matrix_analyse( (GLmatrix*) matrix );
|
||||
m = matrix->inv;
|
||||
}
|
||||
|
Reference in New Issue
Block a user