VgaGames 3 - Video man-pages

[.. upper level ..]

VG3_image_unload()

Unload and free an image or all images.
SYNTAX
void VG3_image_unload(struct vg3_window *wstruct, struct vg3_image *imgptr)

FUNCTION PARAMETERS
wstruct Window-struct
imgptr Image, or NULL = all images

DESCRIPTION
Unload and free an image. If the image was referenced more than one time with VG3_image_clone_reference() only the reference counter is decremented. If imgptr is NULL all images will be unloaded.