mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-03 23:10:59 +00:00
Always return false instead.
This commit is contained in:
parent
0e2cefe251
commit
77649ef6d1
1 changed files with 5 additions and 5 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue