GM: surface free

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is surface_free(id). It appears incorrectly here because of technical restrictions.
The correct title of this article is surface_free(). It appears incorrectly here because of technical restrictions.


Arguments

id = name of the variable which holds the ID of the surface (see surface_create).

Limitations

none.

Note: Please remove limitations and port them in the "Remarks" section at the end of the article.

This function frees the memory used by the surface with the given ID. When a surface is freed, all what was drawn on the surface will be lost.

[edit] See Also

This article was originally found at the Game Maker Knowledge Base, contributed by Eyas Sharaiha.
See the talk page for details
Personal tools