mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 17:54:04 +00:00
Merge pull request #3636 from loganmc10/patch-1
Make emscripten_egl default context for emscripten
This commit is contained in:
commit
9179b6b6f2
@ -76,15 +76,15 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = {
|
|||||||
#if defined(__APPLE__) && !defined(TARGET_IPHONE_SIMULATOR) && !defined(TARGET_OS_IPHONE)
|
#if defined(__APPLE__) && !defined(TARGET_IPHONE_SIMULATOR) && !defined(TARGET_OS_IPHONE)
|
||||||
&gfx_ctx_cgl,
|
&gfx_ctx_cgl,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef EMSCRIPTEN
|
||||||
|
&gfx_ctx_emscripten,
|
||||||
|
#endif
|
||||||
#if (defined(HAVE_SDL) || defined(HAVE_SDL2)) && defined(HAVE_OPENGL)
|
#if (defined(HAVE_SDL) || defined(HAVE_SDL2)) && defined(HAVE_OPENGL)
|
||||||
&gfx_ctx_sdl_gl,
|
&gfx_ctx_sdl_gl,
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_OSMESA
|
#ifdef HAVE_OSMESA
|
||||||
&gfx_ctx_osmesa,
|
&gfx_ctx_osmesa,
|
||||||
#endif
|
#endif
|
||||||
#ifdef EMSCRIPTEN
|
|
||||||
&gfx_ctx_emscripten,
|
|
||||||
#endif
|
|
||||||
#if defined(HAVE_VULKAN) && defined(HAVE_VULKAN_DISPLAY)
|
#if defined(HAVE_VULKAN) && defined(HAVE_VULKAN_DISPLAY)
|
||||||
&gfx_ctx_khr_display,
|
&gfx_ctx_khr_display,
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user