mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-18 12:48:31 +00:00
213 B
213 B
Add XRT_CAST_PTR_TO_OXR_HANDLE
and XRT_CAST_OXR_HANDLE_TO_PTR
macros to perform warning-free conversion between pointers and OpenXR handles, even on 32-bit platforms. They should be used instead of raw casts.