mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
st/oxr: Check requirements for EXT_dpad_binding
This commit is contained in:
parent
6a54b4e6e3
commit
90df723853
|
@ -418,6 +418,11 @@ oxr_verify_extensions(struct oxr_logger *log, const struct oxr_extension_status
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (extensions->EXT_dpad_binding && !extensions->KHR_binding_modification) {
|
||||||
|
return oxr_error(log, XR_ERROR_VALIDATION_FAILURE,
|
||||||
|
"XR_EXT_dpad_binding requires XR_KHR_binding_modification");
|
||||||
|
}
|
||||||
|
|
||||||
return XR_SUCCESS;
|
return XR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue