Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /