draw_flush

This function flushes the entire draw pipeline.

This is a debug-only function and in general it should not be used unless indicated by a member of the GameMaker Support staff, as indiscriminate use will cause serious performance issues with your game.

 

Syntax:

draw_flush();

 

 

Returns:

N/A

 

Example:

draw_flush();

The above code flushes the draw pipeline.