Skip to content

surface_reset_target

Vašek edited this page Jan 18, 2019 · 3 revisions

surface_reset_target

Sets the drawing target back to the default screen

Syntax:

surface_reset_target()

Returns: void

Description:

After you draw all the things you need, simply use this function to set all further drawing back to the screen.

Example:

surface_set_target(surf);
//Drawing
surface_reset_target();

This code exits drawing to surfaces and sets all drawing back to the default screen.

Back to surfaces

Clone this wiki locally