**Function**

gSPPopMatrix

*Pops from a matrix stack*

**Syntax**

```
#include <ultra64.h> /* gbi.h */
gSPPopMatrix(Gfx *gdl, u32 param)
gsSPPopMatrix( u32 param)
```

**Arguments**

**gdl**- the pointer to the graphics display list.
**param**- the flag field identifying the matrix stack to pop:
**G_MTX_MODELVIEW**(The modelview matrix stack)**G_MTX_PROJECTION**(The projection matrix stack)**(not implemented)**

**Description**

Pops from one matrix stack. The modelview matrix stack is 10 levels deep, and the projection matrix stack is 1 level deep (so it is impossible to pop a projection matrix stack). For details, see Section 11.3, "Matrix State," in the N64 Online Programming Manual.

**Note**

If the stack is empty, the command is ignored.

**See Also**

**Revision History**

02/01/99 Entirely revised.