On 07/25/2012 06:33 AM, Brian Paul wrote:
> Always allocate space for the inverse matrix in _math_matrix_ctr()
> since we were always calling _math_matrix_alloc_inv() anyway.
> ---
>  src/mesa/main/matrix.c            |    4 +--
>  src/mesa/math/m_matrix.c          |   51 
> ++++++++-----------------------------
>  src/mesa/math/m_matrix.h          |    5 +---
>  src/mesa/program/prog_statevars.c |    1 -
>  4 files changed, 13 insertions(+), 48 deletions(-)

Nice cleanup!  Much less fiddly code.

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to