From 60a037265f3b114542f66dbc0b198ba0826f200a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 22 Nov 2020 17:41:30 +0100 Subject: [PATCH] vr:: disabled for mac for now, works correctly in mingw64 --- sysconfig.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sysconfig.h b/sysconfig.h index b862f05d..2516cc78 100644 --- a/sysconfig.h +++ b/sysconfig.h @@ -315,7 +315,7 @@ #endif #ifndef CAP_VR -#define CAP_VR ISSTEAM +#define CAP_VR (ISSTEAM && !ISMAC) #endif #ifndef CAP_LEGACY @@ -469,8 +469,12 @@ typedef unsigned GLuint; #include #if CAP_VR +#ifdef __MINGW32__ +#include "openvr_mingw.hpp" +#else #include "openvr.h" #endif +#endif #if CAP_VIDEO #include