Skip to content

Commit

Permalink
- address adaptive sync flicker issue (disables 35 fps cap during gam…
Browse files Browse the repository at this point in the history
…e pause)
  • Loading branch information
madame-rachelle committed Jan 4, 2025
1 parent f3b0c3a commit 3efaca2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/d_net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 3efaca2

Please sign in to comment.