mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Add XRT_ERROR_DEVICE_FUNCTION_NOT_IMPLEMENTED error
This commit is contained in:
parent
4bab1b2fe2
commit
c24bb53dbf
|
@ -392,6 +392,7 @@ u_pp_xrt_result(struct u_pp_delegate dg, xrt_result_t xret)
|
|||
case XRT_ERROR_RECENTERING_NOT_SUPPORTED: DG("XRT_ERROR_RECENTERING_NOT_SUPPORTED"); return;
|
||||
case XRT_ERROR_COMPOSITOR_NOT_SUPPORTED: DG("XRT_ERROR_COMPOSITOR_NOT_SUPPORTED"); return;
|
||||
case XRT_ERROR_IPC_COMPOSITOR_NOT_CREATED: DG("XRT_ERROR_IPC_COMPOSITOR_NOT_CREATED"); return;
|
||||
case XRT_ERROR_DEVICE_FUNCTION_NOT_IMPLEMENTED: DG("XRT_ERROR_DEVICE_FUNCTION_NOT_IMPLEMENTED"); return;
|
||||
}
|
||||
// clang-format on
|
||||
|
||||
|
|
|
@ -174,4 +174,11 @@ typedef enum xrt_result
|
|||
* which is needed for the given command.
|
||||
*/
|
||||
XRT_ERROR_IPC_COMPOSITOR_NOT_CREATED = -28,
|
||||
|
||||
/*!
|
||||
* The function called on the device was not implemented, it is not
|
||||
* meant to query the availability of the function or feature, only a
|
||||
* error condition on bad code.
|
||||
*/
|
||||
XRT_ERROR_DEVICE_FUNCTION_NOT_IMPLEMENTED = -29,
|
||||
} xrt_result_t;
|
||||
|
|
Loading…
Reference in a new issue