summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-02 13:11:59 +0200
committerGitHub <noreply@github.com>2021-06-02 13:11:59 +0200
commit8b06d4275d78debf2bb3d326899648f56abbb492 (patch)
tree03ad48e354010fb293f96762adb93d9cc7125259
parentac47e1d3e57da0d62aa6ac3b7c16086ef38d6fa2 (diff)
parent6abd842a5aa4b97ea8ca2f4604f1b8473b695619 (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.cpp2
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 {