With this function you can flush 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 YoYo Games 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.