From 2059a99a44b058c1f5edc514b328a2e932685593 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Thu, 12 Feb 2026 01:17:37 -0500 Subject: [PATCH] Fix software using linear filter by default --- src/sdl/i_video.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sdl/i_video.cpp b/src/sdl/i_video.cpp index ef03c3c56..441e5313d 100644 --- a/src/sdl/i_video.cpp +++ b/src/sdl/i_video.cpp @@ -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 };