-
-
Notifications
You must be signed in to change notification settings - Fork 18
surface_reset_target
Vašek edited this page Jan 18, 2019
·
3 revisions
Sets the drawing target back to the default screen
surface_reset_target()
Returns: void
After you draw all the things you need, simply use this function to set all further drawing back to the screen.
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