Merge pull request #44299 from Chaosus/fix_win32_warning

Fixed warning at window closing (WIN32)
This commit is contained in:
Rémi Verschelde
2021-01-05 09:00:47 +01:00
committed by GitHub
2 changed files with 35 additions and 23 deletions

View File

@ -387,7 +387,8 @@ private:
WindowID last_focused_window = INVALID_WINDOW_ID;
uint32_t move_timer_id;
uint32_t move_timer_id = 0U;
uint32_t focus_timer_id = 0U;
HCURSOR hCursor;
@ -408,6 +409,9 @@ private:
bool in_dispatch_input_event = false;
bool console_visible = false;
WPARAM saved_wparam;
LPARAM saved_lparam;
WNDCLASSEXW wc;
HCURSOR cursors[CURSOR_MAX] = { nullptr };