# G3X_IsMtxStackOverflow

## C Specification

      #include <nitro/gx/g3x.h>

      s32 G3X_IsMtxStackOverflow();

## Description

Determines whether or not overflow/underflow is generated in the matrix stack.

- If the value returned is non-zero, current overflow or underflow status cannot be acquired because the matrix stack is busy.
- If the value returned is zero, whether the matrix stack is overflow or underflow is stored in * overflow.

In the case that overflow is generated, this function will return overflow status until `G3X_ResetMtxStackOverflow` is called.

## Arguments

`overflow` | Pointer for `s32` type

## Return Values

Acquired results (0) or the matrix stack is busy (other than 0).

## See Also

## Revision History

03/02/2004 Added busy status decision for matrix stack
01/19/2004 Initial Version