[OpenGL] Threaded Drawing Still Blocked By GUI ?


I’ve taken a look at the the FluidsDemo project and noticed it uses a Thread to trigger OpenGL drawing.

Nonetheless, when you click on the window title bar (to move the window for instance) or when you open the menu, the drawing stops/freezes.

I’m a bit puzzled because, to me, threaded drawing is, normally, a way to draw on a surface without being blocked by GUI events.

So my question is: Is there a way to use Threads and OpenGL drawing without being blocked by GUI events ?


Which OS? Just tried OS X and it doesn’t freeze.

Sorry, I should have mentioned it: on Windows 7.