From 49e15904ae9730808aa8d7988e97af16c72a0fb5 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 18 Sep 2025 20:21:55 -0700 Subject: [PATCH] Document that SDL_SCALEMODE_PIXELART is available in 3.4.0 Fixes https://github.com/libsdl-org/sdlwiki/issues/856 --- include/SDL3/SDL_surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index 445142fee2..c7354288a7 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -86,7 +86,7 @@ typedef enum SDL_ScaleMode SDL_SCALEMODE_INVALID = -1, SDL_SCALEMODE_NEAREST, /**< nearest pixel sampling */ SDL_SCALEMODE_LINEAR, /**< linear filtering */ - SDL_SCALEMODE_PIXELART /**< nearest pixel sampling with improved scaling for pixel art */ + SDL_SCALEMODE_PIXELART /**< nearest pixel sampling with improved scaling for pixel art, available since SDL 3.4.0 */ } SDL_ScaleMode; /**