remove letterboxing

This commit is contained in:
asrael 2025-11-11 23:52:28 -06:00
parent f3905c3019
commit d8848b6ec9

View file

@ -61,9 +61,6 @@ static void* sdl3_create(pxl8_color_mode mode, pxl8_resolution resolution,
pxl8_error("Failed to set vsync: %s", SDL_GetError()); pxl8_error("Failed to set vsync: %s", SDL_GetError());
} }
SDL_SetRenderLogicalPresentation(ctx->renderer, fb_w, fb_h,
SDL_LOGICAL_PRESENTATION_INTEGER_SCALE);
ctx->framebuffer_texture = SDL_CreateTexture(ctx->renderer, ctx->framebuffer_texture = SDL_CreateTexture(ctx->renderer,
SDL_PIXELFORMAT_RGBA32, SDL_PIXELFORMAT_RGBA32,
SDL_TEXTUREACCESS_STREAMING, SDL_TEXTUREACCESS_STREAMING,