Added SDL_SCALEMODE_PIXELART

This is based on the algorithm presented by t3ssel8r:
https://www.youtube.com/watch?v=d6tp43wZqps
This commit is contained in:
Sam Lantinga
2025-03-12 08:45:25 -07:00
parent 853375da61
commit 3e9e22f17d
63 changed files with 15968 additions and 13125 deletions

View File

@@ -33,6 +33,8 @@ typedef enum
SHADER_SOLID,
SHADER_RGB,
SHADER_RGBA,
SHADER_RGB_PIXELART,
SHADER_RGBA_PIXELART,
#ifdef SDL_HAVE_YUV
SHADER_YUV,
SHADER_NV12_RA,