Currently, as far as I can tell, SDL 2 does not provide any mechanism to
request an sRGB-capable default framebuffer when creating an OpenGL
context. Is there any plan to add support for this?
It’s possible that some drivers will return an sRGB-capable framebuffer
even without it being specifically requested, but I’m not sure this can
be relied upon. The relevant extensions are ARB/EXT_framebuffer_sRGB
(and their corresponding WGL and GLX extensions). I don’t know what
support exists on platforms other than Windows and X11.