make move speed consistent

This commit is contained in:
asrael 2025-11-11 21:35:34 -06:00
parent 34e534b6f2
commit 2e2461c35a
3 changed files with 19 additions and 16 deletions

View file

@ -57,8 +57,7 @@ static void* sdl3_create(pxl8_color_mode mode, pxl8_resolution resolution,
return NULL;
}
// Disable vsync for benchmarking
if (!SDL_SetRenderVSync(ctx->renderer, 0)) {
if (!SDL_SetRenderVSync(ctx->renderer, 1)) {
pxl8_error("Failed to set vsync: %s", SDL_GetError());
}