ref: 99ad1eb15aee20126f7432f5a797ebfa7a6a8665
parent: 60547f9f3dcde15d2a1ea593007ac4ff733ef15c
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Jun 12 18:42:36 EDT 2025
sdl: do not scale with filtering - more old-school look
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -64,6 +64,7 @@
if(fbi == NULL)
fatal("SDL_CreateTexture: %s", SDL_GetError());
SDL_SetTextureBlendMode(fbi, SDL_BLENDMODE_NONE);
+ SDL_SetTextureScaleMode(fbi, SDL_SCALEMODE_NEAREST);
SDL_RenderClear(rend);
vid.buffer = vidbuffer;
--
⑨