Skip to content

Commit

Permalink
Merge pull request godotengine#49253 from Geometror/fix-displayserver…
Browse files Browse the repository at this point in the history
…windows-window-can-draw

Fixed window_can_draw of DisplayServerWindows
  • Loading branch information
akien-mga authored Jun 2, 2021
2 parents ac47e1d + 6abd842 commit 8b06d42
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 8b06d42

Please sign in to comment.