st/oxr: Use right enum for ret check

This commit is contained in:
Jakob Bornecrantz 2021-04-15 17:37:19 +01:00
parent f434de27bd
commit 74c9531d4f

View file

@ -74,7 +74,7 @@ oxr_session_populate_egl(struct oxr_logger *log,
"XrGraphicsBindingEGLMNDX::config can not be null when EGL_KHR_no_config_context is "
"not supported by the display.");
}
if (xret != XR_SUCCESS || xcgl == NULL) {
if (xret != XRT_SUCCESS || xcgl == NULL) {
return oxr_error(log, XR_ERROR_INITIALIZATION_FAILED, "Failed to create an egl client compositor");
}