aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/oculusvr
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-14 07:16:45 +0200
committerSven Gothel <[email protected]>2015-07-14 07:16:45 +0200
commit787bf6c43c881ff969282ed8eaabfe680daa70f8 (patch)
treedcc7837f25bcf6dea8d838f7ae334e4883273d3b /make/config/oculusvr
parent35babe791b5c6db8a5dccac3a8f57e4f18d79d76 (diff)
Bump OculusVR RIFT SDK to 0.5.0.1
State: Build clean on GNU/Linux and OSX
Diffstat (limited to 'make/config/oculusvr')
-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"