AliceLR / megazeux

Official MegaZeux git repository
https://www.digitalmzx.com/
GNU General Public License v2.0
124 stars 21 forks source link

Merge all SDL renderer update_colors functions. #468

Closed AliceLR closed 1 month ago

AliceLR commented 1 month ago

SDL3 uses const equivalents to SDL_PixelFormat that have to be acquired in a different way from SDL1.2 and SDL2. This combines the remaining SDL-based update_colors renderer functions and adds an intermediary const SDL_PixelFormat to hopefully make the switch slightly easier.