mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
Fixing bad success macro for the Oculus SDK on windows
This commit is contained in:
parent
0a8a43f8bd
commit
3595f6a8a0
2 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,3 @@ public:
|
||||||
virtual glm::mat4 getHeadPose() const override;
|
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/type_ptr.hpp>
|
||||||
#include <glm/gtc/matrix_transform.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
|
// Convenience method for looping over each eye with a lambda
|
||||||
template <typename Function>
|
template <typename Function>
|
||||||
inline void ovr_for_each_eye(Function function) {
|
inline void ovr_for_each_eye(Function function) {
|
||||||
|
|
Loading…
Reference in a new issue