aboutsummaryrefslogtreecommitdiffstats
path: root/make/config
diff options
context:
space:
mode:
Diffstat (limited to 'make/config')
-rw-r--r--make/config/oculusvr/oculusvr-common.cfg12
-rw-r--r--make/config/oculusvr/oculusvr.c3
2 files changed, 14 insertions, 1 deletions
diff --git a/make/config/oculusvr/oculusvr-common.cfg b/make/config/oculusvr/oculusvr-common.cfg
index 86d0ce745..cf8419d70 100644
--- a/make/config/oculusvr/oculusvr-common.cfg
+++ b/make/config/oculusvr/oculusvr-common.cfg
@@ -22,13 +22,23 @@ 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
#
+# SDK rendering disabled
Ignore ovr_InitializeRenderingShim
-Ignore ovrHmd_RegisterPostDistortionCallback
+Ignore ovr_InitializeRenderingShimVersion
+Ignore ovrHmd_ConfigureRendering
Ignore ovrHmd_AttachToWindow
+Ignore ovrHmd_BeginFrame
+Ignore ovrHmd_EndFrame
+# misc
+Ignore ovrHmd_RegisterPostDistortionCallback
# HSW = Health and Safety Warning
Ignore ovrHSWDisplayState
Ignore ovrHmd_GetHSWDisplayState
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"