diff options
author | Juan Linietsky <juan@godotengine.org> | 2019-03-03 17:53:59 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2019-03-03 17:57:16 -0300 |
commit | 8b4c4d9b2fbfa39e71bc1e4f4fcdd5377a9396e4 (patch) | |
tree | 7006dd0c89288c09d7b6b2faae393404406a6e64 /platform/windows | |
parent | ae886a6f32b3cacc342ab3c4b52fa5e09d91fa49 (diff) |
Implement a more coherent (and way less hack) way to block animation updates, fixes #24618
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/os_windows.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index a213e495b4..bace65e772 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -308,7 +308,6 @@ LRESULT OS_Windows::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) } }; - switch (uMsg) // Check For Windows Messages { case WM_SETFOCUS: { @@ -3004,9 +3003,9 @@ bool OS_Windows::is_disable_crash_handler() const { void OS_Windows::process_and_drop_events() { - drop_events=true; + drop_events = true; process_events(); - drop_events=false; + drop_events = false; } Error OS_Windows::move_to_trash(const String &p_path) { |