st/oxr: Fix error message for xrCreateSession.

Missing graphics binding is XR_ERROR_GRAPHICS_DEVICE_INVALID.
This commit is contained in:
Ryan Pavlik 2019-04-04 18:16:20 -05:00
parent 1d4e73caea
commit 3d2d391fbe

View file

@ -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");
}