Destroys the surface
surface_free(surface_id)
RenderTarget2D
Returns: void
void
When you are finished with using surface, you can free it from your memory by deleting it.
surface_free(surf);
This function will delete the surface surf. Now it's deleted from your memory.
surf
Back to surfaces
There was an error while loading. Please reload this page.