mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
xrt: Fix graphics includes in xrt_openxr_includes
This commit is contained in:
parent
843cf98aeb
commit
afb12a4c5d
|
@ -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 <d3d11.h>
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_D3D12)
|
||||
#include <d3d12.h>
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_VULKAN)
|
||||
#include "xrt_vulkan_includes.h"
|
||||
#endif
|
||||
|
||||
#ifdef XR_USE_TIMESPEC
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue