Fix software using linear filter by default

This commit is contained in:
NepDisk 2026-02-12 01:17:37 -05:00
parent 656ad85a8f
commit 2059a99a44

View file

@ -295,6 +295,7 @@ static void Impl_VideoSetupSurfaces(int width, int height)
{
if (texture == NULL)
texture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_ABGR8888, SDL_TEXTUREACCESS_STREAMING, width, height);
SDL_SetTextureScaleMode(texture, SDL_SCALEMODE_NEAREST);
}
static SDL_FRect src_rect = { 0, 0, 0, 0 };