make move speed consistent
This commit is contained in:
parent
34e534b6f2
commit
2e2461c35a
3 changed files with 19 additions and 16 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue