Skip to content

Commit

Permalink
Merge pull request #6530 from Goober5000/update_window_2
Browse files Browse the repository at this point in the history
re-remove Update_window check
  • Loading branch information
Goober5000 authored Jan 17, 2025
2 parents c4d1705 + 9a0fa3c commit f63c550
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions fred2/fred.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,11 @@ BOOL CFREDApp::OnIdle(LONG lCount) {
game_do_frame(); // do stuff that needs doing, whether we render or not.
show_control_mode();

if (!Update_window)
return FALSE;
// At some point between 2002 and 2006, the Update_window code was removed, but since we don't have FRED history from that period,
// we don't know the exact rationale. However, since FRED appears to have no difficulty rendering every frame, and since there may
// be parts of FRED that don't set Update_window when they need to (for example, the background editor), let's keep this disabled.
//if (!Update_window)
// return FALSE;

render_frame(); // "do the rendering!" Renders image to offscreen buffer

Expand Down

0 comments on commit f63c550

Please sign in to comment.