mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-02 20:11:15 +00:00
🩹 fix: apply changes
This commit is contained in:
parent
eab80176b8
commit
907f34ca6d
@ -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, 3, 0) && !defined(WINDOWS_STORE)
|
||||
#if SDL_VERSION_ATLEAST(3, 3, 0)
|
||||
SDL_SetTextureScaleMode(g_videoPalette, SDL_SCALEMODE_PIXELART);
|
||||
#else
|
||||
SDL_SetTextureScaleMode(g_videoPalette, SDL_SCALEMODE_NEAREST);
|
||||
|
||||
@ -194,4 +194,4 @@ if(ISLE_COMPILE_SHADERS)
|
||||
"--shader-jsons" ${shader_jsons}
|
||||
DEPENDS "${py_gencshadersource}" ${shader_headers} ${shader_jsons})
|
||||
endif()
|
||||
target_sources(miniwin PRIVATE "${index}" "${index_cpp}")
|
||||
target_sources(miniwin PRIVATE "${index}" "${index_cpp}")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user