port of sdl2glshader.c
Noticed this looking at #5580. Looks like the init function never gets called. Calling it may get messy though as it doesn't look like the emulation would deal with multiple contexts. (I'm not sure these should work together, but then LEGACY_GL_EMULATION would stop working with EGL and SDL2)