diff --git a/src/xrt/state_trackers/oxr/oxr_session_egl.c b/src/xrt/state_trackers/oxr/oxr_session_egl.c index 3593245ae..aa50e9829 100644 --- a/src/xrt/state_trackers/oxr/oxr_session_egl.c +++ b/src/xrt/state_trackers/oxr/oxr_session_egl.c @@ -55,7 +55,8 @@ oxr_session_populate_egl(struct oxr_logger *log, "eglQueryContext(EGL_CONTEXT_CLIENT_TYPE) failed"); } - if (egl_client_type != EGL_OPENGL_API) { + if (egl_client_type != EGL_OPENGL_API && + egl_client_type != EGL_OPENGL_ES_API) { return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED, "unsupported EGL client type"); }