mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 04:36:07 +00:00
u/device: Add U_DEVICE_ALLOC_NO_FLAGS
Allows using U_DEVICE_ALLOCATE without flags without a cast.
This commit is contained in:
parent
d85224e7c3
commit
c84dbad03e
|
@ -26,6 +26,7 @@ extern const struct xrt_matrix_2x2 u_device_rotation_180;
|
|||
enum u_device_alloc_flags
|
||||
{
|
||||
// clang-format off
|
||||
U_DEVICE_ALLOC_NO_FLAGS = 0,
|
||||
U_DEVICE_ALLOC_HMD = 1 << 0,
|
||||
U_DEVICE_ALLOC_TRACKING_NONE = 1 << 1,
|
||||
// clang-format on
|
||||
|
|
Loading…
Reference in a new issue