mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 21:28:32 +09:00
HeadlessGL reported the literal "<unset>" as the backend name when the variable was not set, while MG_ConfigLoader::InitBackendType defaults it to DirectGLES and brought DirectGLES up. Every ctest entry sets the variable through its ENVIRONMENT property, which is why nothing ever noticed - but run straight from an adb shell, where nothing sets it, the name matched neither backend and every case gated on DirectGLES skipped as though DirectGLES were not running. On an Adreno 830 that silently disabled the gl_ViewportIndex emulation control and the DirectGLES-only attachment scenarios.