Merge pull request #3550 from Sonicadvance1/egl_support_core_profile Support the OpenGL core profile in EGL.