You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 SFML/CSFML#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.
The text was updated successfully, but these errors were encountered:
Addresses SFML#222
* Updated Texture's constructors with an optional parameter named "sRGB" which selects between the sRGB and non-sRGB versions of sfTexture_create*
* Allows Texture(byte[]) to specify a portion of the passed bytes to use for the new Texture, consistent with other existing constructors
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 SFML/CSFML#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.
The text was updated successfully, but these errors were encountered: