From ce0bcfa7a4c1a655606dd917e5d99544bac55fa0 Mon Sep 17 00:00:00 2001 From: Emil Kosz Date: Thu, 25 Sep 2025 10:02:14 +0200 Subject: [PATCH] Change texture interpolation --- src/client/gfx_context.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/gfx_context.c b/src/client/gfx_context.c index 5da5067..763b329 100644 --- a/src/client/gfx_context.c +++ b/src/client/gfx_context.c @@ -100,6 +100,9 @@ GfxContext_cache_World (GfxContext *self, World *world) SDL_TEXTUREACCESS_TARGET, world->width, world->height); + /* Make it pixely. */ + SDL_SetTextureScaleMode (self->world_texture, SDL_SCALEMODE_NEAREST); + if (!self->world_texture) { g_error ("Failed to create world texture: %s", SDL_GetError ());