mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +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 |