[Feature request]: sRGB support in sokol_gfx.h
sokol_gfx.h should expose the hardware sRGB features to perform sRGB-to-linear conversion when sampling textures and back to sRGB in framebuffers (two separate things)
See: https://twitter.com/tumult/status/1439897518297411591
...probably needs to be behind feature-flags because of WebGL/GLES2.
Are you planning to maintain WebGL/GLES2 support? With the latest Safari, WebGL2 seems widely available now.
@OkanArikan I think we can drop WebGL1/GLES2 now, but I haven't yet made plans when exactly this will happen (some time this year with the WebGPU backend would probably be a good time).
PS: some more digging regarding SRGB framebuffers:
https://github.com/floooh/sokol/pull/758#issuecomment-1405377648