summaryrefslogtreecommitdiffstats
path: root/modules/openxr/openxr_api.cpp
diff options
context:
space:
mode:
authorGabor Koncz <gabor.koncz@migeran.com>2022-12-29 16:34:25 +1100
committerGabor Koncz <gabor.koncz@migeran.com>2023-07-26 10:27:14 +0200
commitd600e6eb1bc0aad51b61a42ac18861696e63732a (patch)
tree3203ff22ca16c92fc7bd7726402cc5b49adf78d2 /modules/openxr/openxr_api.cpp
parentc3b0a92c3cd9a219c1b1776b48c147f1d0602f07 (diff)
downloadredot-engine-d600e6eb1bc0aad51b61a42ac18861696e63732a.tar.gz
Add GDExtension support for OpenXR extension wrappers
This commit adds the classes OpenXRExtensionWrapperExtension and OpenXRAPIExtension that can be used in GDExtensions to define OpenXR extension wrappers. It modifies extension wrapper registration so that they can be registered before OpenXRAPI instantiation (e.g. in core level initialization of GDExtensions). Developed by Migeran (https://migeran.com)
Diffstat (limited to 'modules/openxr/openxr_api.cpp')
-rw-r--r--modules/openxr/openxr_api.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/openxr/openxr_api.cpp b/modules/openxr/openxr_api.cpp
index 4ab280f3c3..0c470ab83c 100644
--- a/modules/openxr/openxr_api.cpp
+++ b/modules/openxr/openxr_api.cpp
@@ -30,6 +30,7 @@
#include "openxr_api.h"
+#include "extensions/openxr_extension_wrapper_extension.h"
#include "openxr_interface.h"
#include "openxr_util.h"