Added support for textures with palettes

Closes https://github.com/libsdl-org/SDL/pull/6192
This commit is contained in:
Sam Lantinga
2025-09-26 11:44:04 -07:00
parent d42bf59c66
commit 0b4b254a53
11 changed files with 728 additions and 74 deletions

View File

@@ -1332,6 +1332,8 @@ const static struct {
SDL_SYMBOL_ITEM(SDL_hid_get_properties),
SDL_SYMBOL_ITEM(SDL_GetPixelFormatFromGPUTextureFormat),
SDL_SYMBOL_ITEM(SDL_GetGPUTextureFormatFromPixelFormat),
SDL_SYMBOL_ITEM(SDL_SetTexturePalette),
SDL_SYMBOL_ITEM(SDL_GetTexturePalette),
/* extra symbols go here (don't modify this line) */
{ NULL, NULL }
};