mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user