mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 03:21:28 +00:00
- address adaptive sync flicker issue (disables 35 fps cap during game pause)
This commit is contained in:
parent
f3b0c3ac5e
commit
3efaca262d
1 changed files with 5 additions and 0 deletions
|
@ -150,6 +150,8 @@ static int oldentertics;
|
|||
|
||||
extern bool advancedemo;
|
||||
|
||||
CVAR(Bool, vid_dontdowait, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||
|
||||
CVAR(Bool, net_ticbalance, false, CVAR_SERVERINFO | CVAR_NOSAVE)
|
||||
CUSTOM_CVAR(Int, net_extratic, 0, CVAR_SERVERINFO | CVAR_NOSAVE)
|
||||
{
|
||||
|
@ -1878,6 +1880,9 @@ void TryRunTics (void)
|
|||
|
||||
bool doWait = (cl_capfps || pauseext || (r_NoInterpolate && !M_IsAnimated()));
|
||||
|
||||
if (vid_dontdowait)
|
||||
doWait = false;
|
||||
|
||||
// get real tics
|
||||
if (doWait)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue