# G3X_IsMtxStackOverflow

## C Specification

      #include <nitro/gx/g3x.h>

      s32 G3X_IsMtxStackOverflow(s32 *overflow);

## Arguments

overflow | Pointer to `s32` type

## Return Values

Whether results were obtained (0) or the matrix stack is busy (not 0).

## 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.

## See Also

## Revision History

03/02/2004

- Added busy status decision for matrix stack

01/19/2004 Initial version

CONFIDENTIAL