spFinish (function)

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


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


Pointer to the graphic display list pointer


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


Revision History

1999/04/30 Changed Format