mirror of
https://github.com/SFML/SFML.git
synced 2025-02-23 14:56:02 +08:00
When the sf::ContextSettings asks for an sRGB capable buffer, set the rendered image to sRGB mode and convert pixels when drawing. This is the choice of simplicity compared to actually support textures with more color depth.