All the m_internalFmtSrgb values were there already, just not used.
I've done this as 2 commits in case you just wanted to merge the first. The second commit makes texturec write sRGB by default, which might be a bit drastic (maybe an --srgb flag would be preferable?)
All the
m_internalFmtSrgb
values were there already, just not used.I've done this as 2 commits in case you just wanted to merge the first. The second commit makes texturec write sRGB by default, which might be a bit drastic (maybe an --srgb flag would be preferable?)