This doesn't work either. The problem really is that when I drag or resize the window neither the update() nor the draw() function is called back and the ofGetElapsedTime functions return the real time and not the logical time. I'm measuring the time difference between frames and when I move the window for a couple of seconds I get a huge delta time and this blows up my physics in my game (like the collision detection). My workaround is to clamp the delta time to some sane maximum value depending on my target frame rate.
Ideally I want the app not to pause at all when I just drag or resize the window.
@arturo is there a way to accomplish this?