diff options
| author | Andreas Haas | 2016-07-01 15:31:37 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-07-08 18:56:28 +0200 |
| commit | 7589307911063d904952d957c8c55ff94e56b96f (patch) | |
| tree | 72a0996494c1d986efe39a94d4cdd704c35c0b57 /platform/javascript/os_javascript.cpp | |
| parent | 6199efbc7e56f05dfecc6961a840560b8f83e943 (diff) | |
| download | godot-7589307911063d904952d957c8c55ff94e56b96f.tar.gz godot-7589307911063d904952d957c8c55ff94e56b96f.tar.zst godot-7589307911063d904952d957c8c55ff94e56b96f.zip | |
Windows: prevent freeze while moving or resizing the game window.
When moving or resizing the window, Windows spins up a seperate event-loop, effectively blocking the normal one.
To work around this, we're starting a timer that will continue sending WM_TIMER messages which we can use to keep the mainloop running.
fixes #4695
(cherry picked from commit 6856c5249104d2b69fe297ff7546092e3bb23555)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
