mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
st/oxr: Fix one conformance issue with d3d11
This commit is contained in:
parent
78c4102e90
commit
e3874383d0
|
@ -621,7 +621,8 @@ oxr_verify_XrGraphicsBindingD3D11KHR(struct oxr_logger *log, const XrGraphicsBin
|
|||
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE, "Graphics binding has invalid type");
|
||||
}
|
||||
if (next->device == NULL) {
|
||||
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE, "XrGraphicsBindingD3D11KHR::device cannot be NULL");
|
||||
return oxr_error(log, XR_ERROR_GRAPHICS_DEVICE_INVALID,
|
||||
"XrGraphicsBindingD3D11KHR::device cannot be NULL");
|
||||
}
|
||||
return XR_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue