surface_reset_target()

 

Example

surface_set_target(surface);

//draw_...

//draw_...

surface_reset_target();

 

This function resets the drawing target to the main screen. This function must be called after finishing from the surface_set_target(id) function because it will mess up the screen otherwise.

 

esh_corp11 - Revision #1