xrt: Fix OpenXR platform include on Windows

This commit is contained in:
Ryan Pavlik 2021-10-15 14:36:32 -05:00
parent d24375f8ab
commit 2d916c11c5

View file

@ -29,6 +29,10 @@ typedef void *GLXDrawable;
typedef void *GLXContext; typedef void *GLXContext;
#endif #endif
#ifdef XR_USE_PLATFORM_WIN32
#include <Unknwn.h>
#endif
#if defined(XR_USE_PLATFORM_EGL) || defined(XR_USE_GRAPHICS_API_OPENGL_ES) #if defined(XR_USE_PLATFORM_EGL) || defined(XR_USE_GRAPHICS_API_OPENGL_ES)
typedef void *EGLDisplay; typedef void *EGLDisplay;
typedef void *EGLContext; typedef void *EGLContext;