diff --git a/src/xrt/state_trackers/oxr/oxr_verify.cpp b/src/xrt/state_trackers/oxr/oxr_verify.cpp index 81c9a7c62..c47e7538b 100644 --- a/src/xrt/state_trackers/oxr/oxr_verify.cpp +++ b/src/xrt/state_trackers/oxr/oxr_verify.cpp @@ -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"); }