Revert "Make emscripten_egl default context for emscripten"

fixes gamepad support. It seems it only works when we use the SDL2 video context

This reverts commit 1177edf825.
This commit is contained in:
radius 2016-09-23 22:37:50 -05:00
parent 8d45ea4343
commit f58f7a5923

View File

@ -76,15 +76,15 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = {
#if defined(__APPLE__) && !defined(TARGET_IPHONE_SIMULATOR) && !defined(TARGET_OS_IPHONE)
&gfx_ctx_cgl,
#endif
#ifdef EMSCRIPTEN
&gfx_ctx_emscripten,
#endif
#if (defined(HAVE_SDL) || defined(HAVE_SDL2)) && defined(HAVE_OPENGL)
&gfx_ctx_sdl_gl,
#endif
#ifdef HAVE_OSMESA
&gfx_ctx_osmesa,
#endif
#ifdef EMSCRIPTEN
&gfx_ctx_emscripten,
#endif
#if defined(HAVE_VULKAN) && defined(HAVE_VULKAN_DISPLAY)
&gfx_ctx_khr_display,
#endif