SFML.Net icon indicating copy to clipboard operation
SFML.Net copied to clipboard

Add proper support for sRGB

Open eXpl0it3r opened this issue 2 years ago • 0 comments

Due to the way the CSFML API was implemented for creating/loading textures, there was no way to create textures in sRGB mode and the exposed setSrgb method was essentially useless.

With https://github.com/SFML/CSFML/pull/177 this was fixed, which then however leaves a gap in SFML.NET. The property for sRGB needs to be adapted and the new creation functions need to be called from SFML.NET.

eXpl0it3r avatar Dec 25 '22 22:12 eXpl0it3r