Merge pull request #5552 from jherico/homer

Fixing bad success macro for the Oculus SDK on windows
This commit is contained in:
Seth Alves 2015-08-11 14:21:10 -07:00
commit 6ce4820b9f
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) {