From cfa6f715c1baf4101c8721030d1f54090f6e6032 Mon Sep 17 00:00:00 2001 From: Danct12 Date: Sun, 22 Jun 2025 17:39:37 +0000 Subject: [PATCH] Bump version for SDL_SCALEMODE_PIXELART to 3.3.0 This feature isn't available in 3.2.0 which lead to compilation error. Currently mainline is on 3.3.0 and the feature should land there. --- ISLE/isledebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISLE/isledebug.cpp b/ISLE/isledebug.cpp index d60307cc..5283cdbc 100644 --- a/ISLE/isledebug.cpp +++ b/ISLE/isledebug.cpp @@ -183,7 +183,7 @@ void IsleDebug_Init() } g_videoPalette = SDL_CreateTexture(g_debugRenderer, SDL_PIXELFORMAT_RGBX32, SDL_TEXTUREACCESS_STREAMING, 16, 16); -#if SDL_VERSION_ATLEAST(3, 2, 0) +#if SDL_VERSION_ATLEAST(3, 3, 0) SDL_SetTextureScaleMode(g_videoPalette, SDL_SCALEMODE_PIXELART); #else SDL_SetTextureScaleMode(g_videoPalette, SDL_SCALEMODE_NEAREST);