Always return false instead.

This commit is contained in:
Steel Titanium 2019-03-08 18:51:55 -05:00
parent 0e2cefe251
commit 77649ef6d1

View file

@ -1325,9 +1325,9 @@ void I_UpdateNoBlit(void)
// //
// Returns true if it thinks we can afford to skip this frame // Returns true if it thinks we can afford to skip this frame
// from PrBoom's src/SDL/i_video.c // from PrBoom's src/SDL/i_video.c
#if 0
static inline boolean I_SkipFrame(void) static inline boolean I_SkipFrame(void)
{ {
#if 0
static boolean skip = false; static boolean skip = false;
if (rendermode != render_soft) if (rendermode != render_soft)
@ -1346,8 +1346,9 @@ static inline boolean I_SkipFrame(void)
default: default:
return false; return false;
} }
}
#endif #endif
return false;
}
// //
// I_FinishUpdate // I_FinishUpdate
@ -1357,9 +1358,8 @@ void I_FinishUpdate(void)
if (rendermode == render_none) if (rendermode == render_none)
return; //Alam: No software or OpenGl surface return; //Alam: No software or OpenGl surface
// Don't skip frames if (I_SkipFrame())
//if (I_SkipFrame()) return;
//return;
if (cv_ticrate.value) if (cv_ticrate.value)
SCR_DisplayTicRate(); SCR_DisplayTicRate();