Disable vsync

This commit is contained in:
Josh Holtrop 2025-04-21 21:18:17 -04:00
parent deed177f55
commit b9aa02818b

View File

@ -125,6 +125,8 @@ int main()
return 1; return 1;
} }
SDL_GL_SetSwapInterval(0);
init(); init();
SDL_AddTimer(5, &tick, null); SDL_AddTimer(5, &tick, null);
resize(WIDTH, HEIGHT); resize(WIDTH, HEIGHT);