diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-01-19 09:19:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 09:19:52 +0100 |
commit | 7dea83c623eded9ddcdbbb0bbaa7e8229c5ec74f (patch) | |
tree | 3da5bd9665e13977d0e9c5603f319224d6681109 | |
parent | 7fc9d4c79b3b790ff75c32317c25410f58ed1f68 (diff) | |
parent | 2a2de2f684ee99061b43bb8bcb3c3a4a675dfd10 (diff) |
Merge pull request #45298 from marstaik/fix_cursor
BUGFIX: Fix uninitialized cursor_shape on windows display server
-rw-r--r-- | platform/windows/display_server_windows.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/display_server_windows.h b/platform/windows/display_server_windows.h index 4a3f91eb21..c8c6a75bf5 100644 --- a/platform/windows/display_server_windows.h +++ b/platform/windows/display_server_windows.h @@ -417,7 +417,7 @@ private: WNDCLASSEXW wc; HCURSOR cursors[CURSOR_MAX] = { nullptr }; - CursorShape cursor_shape; + CursorShape cursor_shape = CursorShape::CURSOR_ARROW; Map<CursorShape, Vector<Variant>> cursors_cache; void _drag_event(WindowID p_window, float p_x, float p_y, int idx); |