spInit (function)

Sets the graphics modes as needed for sprite drawing.


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


Pointer to the graphics display list pointer


spInit should be called at the beginning of sprite drawing.

Some GBI display list commands need to be executed to get the RCP into the correct mode for sprite rendering.This function adds commands necessary for RCP's default texture mode components to the user-specified glistp.

glistp is updated in the next available display list location.

See Also


Revision History

1999/04/30 Changed Format