aboutsummaryrefslogtreecommitdiffstats
path: root/make/config
diff options
context:
space:
mode:
Diffstat (limited to 'make/config')
-rw-r--r--make/config/oculusvr/oculusvr-common.cfg5
-rw-r--r--make/config/oculusvr/oculusvr.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/make/config/oculusvr/oculusvr-common.cfg b/make/config/oculusvr/oculusvr-common.cfg
index 86d0ce745..d42ddae86 100644
--- a/make/config/oculusvr/oculusvr-common.cfg
+++ b/make/config/oculusvr/oculusvr-common.cfg
@@ -22,11 +22,16 @@ Ignore ovrRenderAPIConfig.PlatformData
# Not native sized: CType['uintptr_t *', size [fixed false, lnx64 64], [array*1]]
Ignore ovrTexture.PlatformData
+# FIXME: Add wrapper for native/java callbacks
+Ignore ovrLogCallback
+Ignore ovrInitParams.LogCallback
+
# We use the SDK in headless mode:
# #define HEADLESS_APP 1
# implying: ovrHmdCap_ExtendDesktop
#
Ignore ovr_InitializeRenderingShim
+Ignore ovr_InitializeRenderingShimVersion
Ignore ovrHmd_RegisterPostDistortionCallback
Ignore ovrHmd_AttachToWindow
# HSW = Health and Safety Warning
diff --git a/make/config/oculusvr/oculusvr.c b/make/config/oculusvr/oculusvr.c
index 35f86eb78..a3a9a3512 100644
--- a/make/config/oculusvr/oculusvr.c
+++ b/make/config/oculusvr/oculusvr.c
@@ -6,4 +6,7 @@ typedef struct ovrHmdStruct {
#define OVR_ALIGNAS(n)
+/** Removed in 0.5.0, but permanently enabled! */
+#define ovrDistortionCap_Chromatic 0x01
+
#include "OVR_CAPI.h"