diff options
author | Marios Staikopoulos <marios@staik.net> | 2021-01-18 15:52:47 -0800 |
---|---|---|
committer | Marios Staikopoulos <marios@staik.net> | 2021-01-18 15:52:47 -0800 |
commit | 2a2de2f684ee99061b43bb8bcb3c3a4a675dfd10 (patch) | |
tree | 3da5bd9665e13977d0e9c5603f319224d6681109 /platform/windows/display_server_windows.h | |
parent | 7fc9d4c79b3b790ff75c32317c25410f58ed1f68 (diff) |
BUGFIX: Fix unintialized cursor_shape on windows display server
Diffstat (limited to 'platform/windows/display_server_windows.h')
-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); |