SDL
SDL copied to clipboard
Changing the color outside of renderer's letterbox region
In SDL2 and early versions of SDL3 setting a letterbox logical presentation still allowed changing the color of the bars when clearing the renderer. Now the documentation clearly states in the "SDL_RendererLogicalPresentation" enum that the bars are black and indeed we can't change their color anymore. Would it be possible to create a new function or a new presentation mode that allows changing the bar color again ? It was a great feature to be able to customize the color of the letterbox bars to fit the app color palette.
This is a good idea.
This was implemented in https://github.com/libsdl-org/SDL/commit/fbbc29159a25f26d789694a74c2d1d3216dfb49d.