diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-02 13:11:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 13:11:59 +0200 |
commit | 8b06d4275d78debf2bb3d326899648f56abbb492 (patch) | |
tree | 03ad48e354010fb293f96762adb93d9cc7125259 | |
parent | ac47e1d3e57da0d62aa6ac3b7c16086ef38d6fa2 (diff) | |
parent | 6abd842a5aa4b97ea8ca2f4604f1b8473b695619 (diff) |
Merge pull request #49253 from Geometror/fix-displayserverwindows-window-can-draw
Fixed window_can_draw of DisplayServerWindows
-rw-r--r-- | platform/windows/display_server_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |