mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
restore screenvisible
check (fix CPU usage when window is minimized)
This commit is contained in:
parent
597ff71791
commit
1b8cb0d888
@ -747,7 +747,7 @@ void TryRunTics(void)
|
||||
|
||||
// [AM] If we've uncapped the framerate and there are no tics
|
||||
// to run, return early instead of waiting around.
|
||||
#define return_early (uncapped && counts == 0)
|
||||
#define return_early (uncapped && counts == 0 && screenvisible)
|
||||
|
||||
// get real tics
|
||||
entertic = I_GetTime() / ticdup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user