mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-03 06:40:15 +02:00
Each texture gets its own palette, the palette is updated when it is rendered if necessary, rendering is flushed if a texture render is already queued up. Trying to share palettes and handle the different cases of queued rendering and changing palettes in the middle of the frame ends up being very complicated, so we'll keep it simple for now.