Refactored SDL_EGL_CreateContext: It now supports context flags and OpenGL ES 3+ contexts, and its behavior more closely matches the GLX and WGL context creation code.
Improved the code style consistency of SDL_egl.c.
Fixes bugzilla #2865.
2 Please distribute this file with the SDL runtime environment:
4 The Simple DirectMedia Layer (SDL for short) is a cross-platform library
5 designed to make it easy to write multi-media software, such as games and
8 The Simple DirectMedia Layer library source code is available from:
11 This library is distributed under the terms of the zlib license:
12 http://www.zlib.net/zlib_license.html