mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Add XRT_TIMEOUT to xrt_result_t
This commit is contained in:
parent
e13cfd2fec
commit
7e8f4f46c6
|
@ -12,6 +12,14 @@
|
||||||
typedef enum xrt_result
|
typedef enum xrt_result
|
||||||
{
|
{
|
||||||
XRT_SUCCESS = 0,
|
XRT_SUCCESS = 0,
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* The operation was given a timeout and timed out.
|
||||||
|
*
|
||||||
|
* The value 2 picked so it matches VK_TIMEOUT.
|
||||||
|
*/
|
||||||
|
XRT_TIMEOUT = 2,
|
||||||
|
|
||||||
XRT_ERROR_IPC_FAILURE = -1,
|
XRT_ERROR_IPC_FAILURE = -1,
|
||||||
XRT_ERROR_NO_IMAGE_AVAILABLE = -2,
|
XRT_ERROR_NO_IMAGE_AVAILABLE = -2,
|
||||||
XRT_ERROR_VULKAN = -3,
|
XRT_ERROR_VULKAN = -3,
|
||||||
|
|
Loading…
Reference in a new issue