spFinish (function)

Resets the graphics mode to the default when sprite drawing is finished.

Syntax

#include <sp.h> /* sp.h */
void spFinish(Gfx **glistp)

Arguments

**glistp
Pointer to the graphic display list pointer

Description

This function should always be called at the end of sprite drawing.

Some GBI display list commands need to be executed to have RCP complete all pending drawing operations and reset the RCP to its default state. This function adds necessary commands to the glistp that user has specified to reset the RCP's sate. This function also automatcally tacks on gSPEndDisplayList at the end of the list.

See Also

spInit

Revision History

1999/04/30 Changed Format