mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
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.
This commit is contained in:
parent
5a756f033b
commit
cfa6f715c1
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user