mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
st/oxr: Fix error message for xrCreateSession.
Missing graphics binding is XR_ERROR_GRAPHICS_DEVICE_INVALID.
This commit is contained in:
parent
1d4e73caea
commit
3d2d391fbe
|
@ -117,7 +117,7 @@ oxr_verify_XrSessionCreateInfo(struct oxr_logger* log,
|
|||
if (inst->headless) {
|
||||
return XR_SUCCESS;
|
||||
}
|
||||
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE,
|
||||
return oxr_error(log, XR_ERROR_GRAPHICS_DEVICE_INVALID,
|
||||
"createInfo->next");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue