From 2a2de2f684ee99061b43bb8bcb3c3a4a675dfd10 Mon Sep 17 00:00:00 2001 From: Marios Staikopoulos Date: Mon, 18 Jan 2021 15:52:47 -0800 Subject: BUGFIX: Fix unintialized cursor_shape on windows display server --- platform/windows/display_server_windows.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/windows/display_server_windows.h') 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> cursors_cache; void _drag_event(WindowID p_window, float p_x, float p_y, int idx); -- cgit v1.2.3