Remove SDL_GetTicks64() ifdefs

We can now use the function that doesn't wrap after ~49 days since
SDL 2.0.18 released.
This commit is contained in:
Misa
2021-11-11 23:54:32 -08:00
committed by Ethan Lee
parent 470a4358ef
commit aa343bc334
3 changed files with 0 additions and 22 deletions

View File

@@ -355,10 +355,8 @@ void Screen::toggleLinearFilter(void)
void Screen::toggleVSync(void)
{
#if SDL_VERSION_ATLEAST(2, 0, 17)
vsync = !vsync;
SDL_RenderSetVSync(m_renderer, (int) vsync);
#endif
}
/* FIXME: Launching in forced fullscreen then exiting and relaunching in normal