Fixing bad success macro for the Oculus SDK on windows

This commit is contained in:
Brad Davis 2015-08-11 14:06:35 -07:00
parent 0a8a43f8bd
commit 3595f6a8a0
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,3 @@ public:
virtual glm::mat4 getHeadPose() const override;
};
#if (OVR_MAJOR_VERSION < 6)
#define OVR_SUCCESS(x) x
#endif

View file

@ -12,6 +12,10 @@
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtc/matrix_transform.hpp>
#if (OVR_MAJOR_VERSION < 6)
#define OVR_SUCCESS(x) x
#endif
// Convenience method for looping over each eye with a lambda
template <typename Function>
inline void ovr_for_each_eye(Function function) {