diff -ruwN source/registry/egl.xml source-new/registry/egl.xml --- source/registry/egl.xml 2022-02-17 19:56:12.000000000 +0700 +++ source-new/registry/egl.xml 2026-06-11 22:13:16.770461177 +0700 @@ -581,7 +581,9 @@ - + + + @@ -2490,6 +2492,11 @@ + + + + + @@ -2834,6 +2841,11 @@ + + + + + @@ -3219,6 +3231,16 @@ + + + + + + + + + + diff -ruwN source/src/dispatch_common.c source-new/src/dispatch_common.c --- source/src/dispatch_common.c 2022-02-17 19:56:12.000000000 +0700 +++ source-new/src/dispatch_common.c 2026-06-11 23:46:49.992415192 +0700 @@ -264,13 +264,7 @@ long begin_count; }; -static struct api api = { -#ifndef _WIN32 - .mutex = PTHREAD_MUTEX_INITIALIZER, -#else - 0, -#endif -}; +static struct api api = {0}; static bool library_initialized; @@ -810,7 +804,7 @@ * use that. */ #if PLATFORM_HAS_GLX - if (api.glx_handle && glXGetCurrentContext()) + if (api.glx_handle && getenv("ORBITAL_DISPLAY") == NULL && glXGetCurrentContext()) return epoxy_gl_dlsym(name); #endif