raise max fpscap

This commit is contained in:
Alug committed 2024-04-10 06:47:45 +02:00
1 parent 1a0bf67452
commit e74df8db90
3 files changed
+5 -3

No files matched your search

+3 -2
View File
@@ -63,9 +63,10 @@ void I_UpdateTime(fixed_t timescale)
enterprecise = I_GetPreciseTime();
elapsedseconds = (double)(enterprecise - oldenterprecise) / I_GetPrecisePrecision();
tictimer += elapsedseconds;
while (tictimer >= 1.0 / ticratescaled)
while (tictimer >= (1.0 / ticratescaled))
{
entertic += 1;
entertic ++;
tictimer -= 1.0/ticratescaled;
}
realtics = entertic - oldentertics;
+1 -1
View File
@@ -34,7 +34,7 @@ static CV_PossibleValue_t fpscap_cons_t[] = {
#else
{TICRATE, "MIN"},
#endif
{300, "MAX"},
{500, "MAX"},
{-1, "Unlimited"},
{0, "Match refresh rate"},
{0, NULL}
+1
View File
@@ -224,6 +224,7 @@ void OglSdlFinishUpdate(boolean waitvbl)
}
else
SDL_GL_SetSwapInterval(0);
//SDL_GL_SetSwapInterval(waitvbl ? -1 : 0);
}