OpenGL Support
OpenGL is not currently supported. To my knowledge, the Switch port of SDL2 only supports GLES.
Is there not a way to emulate OpenGL legacy calls to GLES? jwz did some work to port some legacy GL apps to GLES (targeting iPhones). Dunno if his code could help.
Link to code if you don't want to skim through the rant: https://github.com/emileb/jwzgles
I probably should've been more specific: Switch SDL2 only supports GLES2 (https://github.com/devkitPro/SDL/commit/ba292910f9bb04e49ece65a6f0f93072fc708955). jwzgles seems to only support v1. However, I took a look around for other shims/compatibility layers and found GL4ES (https://github.com/ptitSeb/gl4es). This seems like it should work, but will need a Switch port of its own first. I may look into this over break.