mirror of
https://github.com/SFML/SFML.git
synced 2025-01-19 07:45:13 +08:00
1f21e5497b
This fixes wrong rendering for RenderTexture that need sRGB encoding along a non-sRGB window. We cannot simply always enable GL_FRAMEBUFFER_SRGB because some drivers enable sRGB encoding on non-sRGB window surfaces. Also add a isSrgb() method to tell if a RenderTarget is encoding into sRGB color space. |
||
---|---|---|
.. | ||
SFML |