Hello,
I wonder what’s the best way to get max supported values of SDL_GL_*
attributes.
Most important attributes for me are SDL_GL_MULTISAMPLESAMPLES
and SDL_GL_DEPTH_SIZE
.
The important requirement is that it should work for both GL 2.0 (possibly ES) and GL 3+.
I don’t think that brute force retry loop is really the best approach.
Thanks.