Win: Moving window -> Display.update() is locked

Started by Simon Felix, January 22, 2008, 12:07:13

Previous topic - Next topic

Simon Felix

Hi there,

when using windowed mode, my code can no longer redraw the content of the window when dragging it. This is because Display.update() blocks while the user is moving the window. Is there a way around this?


Regards,
Simon
Download Cultris II, the fastest Tetris clone from http://gewaltig.net/

Schnitter

I think it's quite "normal" - because its like you code with DirectX.
Afaik it's "normal" for windows - but linux(I dont know anything about mac :/) can handle it better.

Simon Felix

Download Cultris II, the fastest Tetris clone from http://gewaltig.net/

Matzon

I once implemented this on a local build and it had some issues. I seem to recall it being caused by the need for a secondary - non display.update method to be called during the modal loop processing that actually does the rendering. There was no fix for this easily...