Home | Info | Community | Development | myReactOS | Contact Us
[static]
Free matrix stack.
Calls _math_matrix_dtr() for each element of the matrix stack and frees the array.
Definition at line 795 of file matrix.c.
Referenced by _mesa_free_matrix_data().
{ GLuint i; for (i = 0; i < stack->MaxDepth; i++) { _math_matrix_dtr(&stack->Stack[i]); } FREE(stack->Stack); stack->Stack = stack->Top = NULL; }