mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-17 04:15:44 +00:00
xrt: accept OpenGL ES in oxr_session_populate_egl
This commit is contained in:
parent
5eacb6f309
commit
a8b2370946
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue