mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-06 07:06:10 +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.