diff --git a/src/xrt/include/xrt/xrt_openxr_includes.h b/src/xrt/include/xrt/xrt_openxr_includes.h index e6a561e6b..5e61a0abf 100644 --- a/src/xrt/include/xrt/xrt_openxr_includes.h +++ b/src/xrt/include/xrt/xrt_openxr_includes.h @@ -37,11 +37,22 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void); // NOLINT typedef __eglMustCastToProperFunctionPointerType (*PFNEGLGETPROCADDRESSPROC)(const char *procname); #endif -#if defined(XR_USE_GRAPHICS_API_D3D11) +#if defined(XR_USE_PLATFORM_WIN32) #include "xrt_windows.h" +#endif + +#if defined(XR_USE_GRAPHICS_API_D3D11) #include #endif +#if defined(XR_USE_GRAPHICS_API_D3D12) +#include +#endif + +#if defined(XR_USE_GRAPHICS_API_VULKAN) +#include "xrt_vulkan_includes.h" +#endif + #ifdef XR_USE_TIMESPEC #include #endif