Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_Xr_openxr_includes.h
| Show All 23 Lines | |||||
| #ifdef XR_USE_GRAPHICS_API_D3D11 | #ifdef XR_USE_GRAPHICS_API_D3D11 | ||||
| # include <d3d11.h> | # include <d3d11.h> | ||||
| #endif | #endif | ||||
| #ifdef XR_USE_GRAPHICS_API_D3D12 | #ifdef XR_USE_GRAPHICS_API_D3D12 | ||||
| # include <d3d12.h> | # include <d3d12.h> | ||||
| #endif | #endif | ||||
| #ifdef WITH_GHOST_X11 | #ifdef WITH_GHOST_X11 | ||||
| # ifdef WITH_GL_EGL | # ifdef WITH_GL_EGL | ||||
| /* TODO: Why do we have to create this typedef manually? */ | # include <epoxy/egl.h> | ||||
| typedef void (*(*PFNEGLGETPROCADDRESSPROC)(const char *procname))(void); | |||||
| # include <GL/eglew.h> | |||||
| # else | # else | ||||
| # include <GL/glxew.h> | # include <epoxy/glx.h> | ||||
| # endif | # endif | ||||
| #endif | #endif | ||||
| #include <openxr/openxr.h> | #include <openxr/openxr.h> | ||||
| #include <openxr/openxr_platform.h> | #include <openxr/openxr_platform.h> | ||||