mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
Merge pull request #5552 from jherico/homer
Fixing bad success macro for the Oculus SDK on windows
This commit is contained in:
commit
6ce4820b9f
2 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,3 @@ public:
|
|||
virtual glm::mat4 getHeadPose() const override;
|
||||
|
||||
};
|
||||
|
||||
#if (OVR_MAJOR_VERSION < 6)
|
||||
#define OVR_SUCCESS(x) x
|
||||
#endif
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue