| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#ifndef OSGXR_OPENXR_GRAPHICS_BINDING_WIN32 |
| 5 |
#define OSGXR_OPENXR_GRAPHICS_BINDING_WIN32 1 |
| 6 |
|
| 7 |
#ifdef OSGXR_USE_WIN32 |
| 8 |
|
| 9 |
#include "GraphicsBinding.h" |
| 10 |
|
| 11 |
#include <osgViewer/api/Win32/GraphicsWindowWin32> |
| 12 |
|
| 13 |
|
| 14 |
#include <unknwn.h> |
| 15 |
|
| 16 |
#define XR_USE_GRAPHICS_API_OPENGL |
| 17 |
#define XR_USE_PLATFORM_WIN32 |
| 18 |
#include <openxr/openxr_platform.h> |
| 19 |
|
| 20 |
namespace osgXR { |
| 21 |
|
| 22 |
namespace OpenXR { |
| 23 |
|
| 24 |
typedef GraphicsBindingImpl<osgViewer::GraphicsWindowWin32, XrGraphicsBindingOpenGLWin32KHR> GraphicsBindingWin32; |
| 25 |
|
| 26 |
} |
| 27 |
|
| 28 |
} |
| 29 |
|
| 30 |
#endif |
| 31 |
|
| 32 |
#endif |