remove simd, scalar math + compiler optimizations are good enough

This commit is contained in:
asrael 2025-11-11 12:26:22 -06:00
parent e2c7998663
commit 4d84122ef3
8 changed files with 41 additions and 509 deletions

View file

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