spInit (function)

Sets the graphics modes as needed for sprite drawing.

Syntax

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

Arguments

**glistp
Pointer to the graphics display list pointer

Description

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

spFinish

Revision History

1999/04/30 Changed Format