mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-03-04 05:36:58 +00:00
st/oxr: Use right enum for ret check
This commit is contained in:
parent
f434de27bd
commit
74c9531d4f
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue