Skip to content

Commit

Permalink
Fixed window_can_draw of DisplayServerWindows
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometror committed Jun 2, 2021
1 parent ac47e1d commit 6abd842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/windows/display_server_windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6abd842

Please sign in to comment.