The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

st/oxr: Minor fixes for oxr_session_egl

+3 -2
+3 -2
src/xrt/state_trackers/oxr/oxr_session_egl.c
··· 42 42 XrGraphicsBindingEGLMNDX const *next, 43 43 struct oxr_session *sess) 44 44 { 45 - EGLint egl_client_type; 45 + EGLint egl_client_type = -1; 46 46 47 47 PFNEGLQUERYCONTEXTPROC eglQueryContext = 48 48 (PFNEGLQUERYCONTEXTPROC)next->getProcAddress("eglQueryContext"); ··· 62 62 if (egl_client_type != EGL_OPENGL_API && 63 63 egl_client_type != EGL_OPENGL_ES_API) { 64 64 return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED, 65 - "Unsupported EGL client type"); 65 + "Unsupported EGL client type: '%i'", 66 + egl_client_type); 66 67 } 67 68 68 69 struct xrt_compositor_native *xcn = sess->sys->xcn;