[Scummvm-git-logs] scummvm master -> 4063ca80d4a0ce22fb431c14bddac417b28e299f

bluegr noreply at scummvm.org
Wed Feb 11 19:32:30 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
4063ca80d4 BACKENDS: SDL: Set getImGuiTexture filtering to nearest


Commit: 4063ca80d4a0ce22fb431c14bddac417b28e299f
    https://github.com/scummvm/scummvm/commit/4063ca80d4a0ce22fb431c14bddac417b28e299f
Author: Sebastien Ronsse (sronsse at gmail.com)
Date: 2026-02-11T21:32:26+02:00

Commit Message:
BACKENDS: SDL: Set getImGuiTexture filtering to nearest

Changed paths:
    backends/graphics/surfacesdl/surfacesdl-graphics.cpp


diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index e8a173fa5c2..77cb5ffadfe 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -3277,9 +3277,9 @@ void *SurfaceSdlGraphicsManager::getImGuiTexture(const Graphics::Surface &image,
 	SDL_UpdateTexture(texture, nullptr, s->getPixels(), s->pitch);
 	SDL_SetTextureBlendMode(texture, SDL_BLENDMODE_BLEND);
 #ifdef USE_IMGUI_SDLRENDERER3
-	SDL_SetTextureScaleMode(texture, SDL_SCALEMODE_LINEAR);
+	SDL_SetTextureScaleMode(texture, SDL_SCALEMODE_NEAREST);
 #elif defined(USE_IMGUI_SDLRENDERER2)
-	SDL_SetTextureScaleMode(texture, SDL_ScaleModeLinear);
+	SDL_SetTextureScaleMode(texture, SDL_ScaleModeNearest);
 #endif
 
 	s->free();




More information about the Scummvm-git-logs mailing list