- fixed: Reset the renderer timer to 0 at the start of render. This prevents screen jankiness with systems at longer than ~2 days uptime.

This commit is contained in:
Rachael Alexanderson 2017-11-14 16:36:21 -05:00
parent 0323f54384
commit c5775edc95

View file

@ -779,7 +779,10 @@ void D_Display ()
{
screen->FrameTime = I_msTime();
static uint32_t firstFrame = 0;
if (firstFrame == 0)
firstFrame = screen->FrameTime;
screen->FrameTime = I_msTime() - firstFrame;
TexMan.UpdateAnimations(screen->FrameTime);
R_UpdateSky(screen->FrameTime);
switch (gamestate)