xrt: Add XRT_ERROR_EGL_CONFIG_MISSING error

This commit is contained in:
Jakob Bornecrantz 2021-03-03 17:24:40 +00:00 committed by Jakob Bornecrantz
parent 8be59f73ec
commit 0571e0337e
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2019-2020, Collabora, Ltd.
// Copyright 2019-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file

View file

@ -48,9 +48,13 @@ typedef enum xrt_result
* Multiple not supported on this layer level (IPC, compositor).
*/
XRT_ERROR_MULTI_SESSION_NOT_IMPLEMENTED = -11,
/*!
* The requested format is not supported by Monado.
*/
XRT_ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED = -12,
/*!
* The given config was EGL_NO_CONFIG_KHR and EGL_KHR_no_config_context
* is not supported by the display.
*/
XRT_ERROR_EGL_CONFIG_MISSING = -12,
} xrt_result_t;