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.
draw_flush();
N/A
draw_flush();
The above code flushes the draw pipeline.