Skip to content
Snippets Groups Projects
Commit a4ea2c27 authored by Eidolon's avatar Eidolon
Browse files

Use old sleep in dedicated mode

parent c79df7d5
No related branches found
No related tags found
1 merge request!1783Uncapped
......@@ -778,7 +778,7 @@ void D_SRB2Loop(void)
debugload--;
#endif
interp = R_UsingFrameInterpolation();
interp = R_UsingFrameInterpolation() && !dedicated;
doDisplay = screenUpdate = false;
ticked = false;
......@@ -891,10 +891,15 @@ void D_SRB2Loop(void)
// Fully completed frame made.
frameEnd = I_GetFrameTime();
if (!singletics)
if (!singletics && !dedicated)
{
I_FrameCapSleep(frameEnd);
}
else if (dedicated)
{
// Preserve the pre-interp sleeping behavior for dedicated mode
I_Sleep();
}
// I_FinishUpdate is now here instead of D_Display,
// because it synchronizes it more closely with the frame counter.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment