xrt: Add D3D11 to the OpenXR include header

This commit is contained in:
Ryan Pavlik 2021-10-21 13:43:43 -05:00 committed by Jakob Bornecrantz
parent 4dd1608950
commit 8bcc2cd195

View file

@ -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 <d3d11.h>
#endif
#ifdef XR_USE_TIMESPEC
#include <time.h>
#endif