SDL/src/video/emscripten
Sam Lantinga 67ed894353 Fixed bug 3529 - SDL_EGL_UnloadLibrary is not called at all on SDL_Quit
kaisyu

In case of OpenGLES, the sequences of loading and unloading driver library should be like that:

SDL_Init
  ...
  SDL_GL_LoadLibrary
    SDL_EGL_LoadLibrary
...
SDL_Quit
  ...
  SDL_GL_UnloadLibrary
    SDL_EGL_UnloadLibrary
...


However, according to my test results, the varible '_this->gl_config.driver_loaded' does not allow 'SDL_GL_UnloadLibrary' to call 'SDL_EGL_UnloadLibrary'.
2017-01-01 19:10:36 -08:00
..
SDL_emscriptenevents.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_emscriptenevents.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_emscriptenframebuffer.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_emscriptenframebuffer.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_emscriptenmouse.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_emscriptenmouse.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_emscriptenopengles.c Fixed bug 3529 - SDL_EGL_UnloadLibrary is not called at all on SDL_Quit 2017-01-01 19:10:36 -08:00
SDL_emscriptenopengles.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_emscriptenvideo.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_emscriptenvideo.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00