GDSetCurrent

Syntax

#include <revolution/gd.h>

void GDSetCurrent( GDLObj* dl );

Arguments

dl Pointer to a graphics display list object.

Return Values

None.

Description

This function sets the specified GDLObj as the current structure. All the commands which act upon the current GDLObj will now act upon dl until a different GDLObj is set as current. Note that all of the GD graphics commands operate on the current GDLObj.

When you finish working with the current GDLObj, setting NULL to it is recommended. This will help avoid potential problems and aid in debugging if you forget to set a different structure as the current GDLObj.

See Also

GDGetCurrent, GDIsCurrent

Revision History

2006/03/01 Initial version.


CONFIDENTIAL