mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
st/oxr: Return correct error on bad sub action path
This commit is contained in:
parent
00818881de
commit
981bae8d0a
3
doc/changes/state_trackers/mr.359.10.md
Normal file
3
doc/changes/state_trackers/mr.359.10.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
OpenXR: Return the correct error code when verifying the sub action, if it is
|
||||
a valid sub action path but not given at action creation we should return
|
||||
`XR_ERROR_PATH_UNSUPPORTED`.
|
|
@ -436,7 +436,7 @@ oxr_verify_subaction_path_get(struct oxr_logger *log,
|
|||
|
||||
oxr_path_get_string(log, inst, path, &str, &length);
|
||||
|
||||
return oxr_error(log, XR_ERROR_PATH_INVALID,
|
||||
return oxr_error(log, XR_ERROR_PATH_UNSUPPORTED,
|
||||
"(%s == '%s') the subaction path was "
|
||||
"not specified at action creation",
|
||||
variable, str);
|
||||
|
|
Loading…
Reference in a new issue