Update screen mid draw

For debugging purposes I would really like if I could update the screen halfway a draw. So I can update before halting on a breakpoint.

I tried to do this with:

    g.endDraw();
    g.flush();
    g.beginDraw();

For example. In combination with different renderers (P2D, JAVA2D, etc.). But i can't get it to work. Is there anyway to force an output?

Answers

Sign In or Register to comment.