From 6abd842a5aa4b97ea8ca2f4604f1b8473b695619 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Wed, 2 Jun 2021 12:51:36 +0200 Subject: Fixed window_can_draw of DisplayServerWindows --- platform/windows/display_server_windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 0dd02b4888..4dd3151eb3 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -1119,7 +1119,7 @@ bool DisplayServerWindows::window_can_draw(WindowID p_window) const { ERR_FAIL_COND_V(!windows.has(p_window), false); const WindowData &wd = windows[p_window]; - return wd.minimized; + return !wd.minimized; } bool DisplayServerWindows::can_any_window_draw() const { -- cgit v1.2.3