From 8bcc2cd195f568cdb047f766f5d79b2c94e5bbef Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Thu, 21 Oct 2021 13:43:43 -0500 Subject: [PATCH] xrt: Add D3D11 to the OpenXR include header --- src/xrt/include/xrt/xrt_openxr_includes.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xrt/include/xrt/xrt_openxr_includes.h b/src/xrt/include/xrt/xrt_openxr_includes.h index 5616cf639..752c25078 100644 --- a/src/xrt/include/xrt/xrt_openxr_includes.h +++ b/src/xrt/include/xrt/xrt_openxr_includes.h @@ -36,6 +36,11 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void); // NOLINT typedef __eglMustCastToProperFunctionPointerType (*PFNEGLGETPROCADDRESSPROC)(const char *procname); #endif +#if defined(XR_USE_GRAPHICS_API_D3D11) +#include "xrt_windows.h" +#include +#endif + #ifdef XR_USE_TIMESPEC #include #endif