Some Windows 11 machines flash-exit on launch: their WGL OpenGL is the
GDI-generic 1.1 software renderer (no/old GPU driver, VMs, RDP), which
Skia's GL backend rejects. The old WglThenEgl preference never fell
through to EGL because WGL *did* create a (1.1) context; the failure
only surfaced downstream in make_gl, after which new_desktop merely
eprintln'd (invisible under windows_subsystem="windows") and exited —
a silent crash. Not all machines: ones with a real GPU driver get
GL 3.0+ and work, which is why only some users saw it.
- native: new_desktop retries once via forced EGL (ANGLE) when the
native context can't drive Skia; machines that already work keep the
WGL path byte-for-byte unchanged.
- desktop: pop a native error dialog on GL-init failure instead of a
silent exit, so a GPU/driver problem is visible not mysterious.
- packaging/CI: ship arch-matched ANGLE runtime DLLs (libEGL /
libGLESv2 / d3dcompiler_47) next to the exe, staged from an Electron
release zip, so glutin's EGL fallback can load them.