mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 20:56:52 +02:00
Merge pull request #13112 from sethalves/fix-overlay-asan-warning
Fix overlay asan warning
This commit is contained in:
commit
1313d28b9d
2 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ public:
|
||||||
bool intersects { false };
|
bool intersects { false };
|
||||||
OverlayID overlayID { UNKNOWN_OVERLAY_ID };
|
OverlayID overlayID { UNKNOWN_OVERLAY_ID };
|
||||||
float distance { 0 };
|
float distance { 0 };
|
||||||
BoxFace face;
|
BoxFace face { UNKNOWN_FACE };
|
||||||
glm::vec3 surfaceNormal;
|
glm::vec3 surfaceNormal;
|
||||||
glm::vec3 intersection;
|
glm::vec3 intersection;
|
||||||
QVariantMap extraInfo;
|
QVariantMap extraInfo;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
// Work around for a bug in the MSVC compiler that chokes when you use GLI and Qt headers together.
|
// Work around for a bug in the MSVC compiler that chokes when you use GLI and Qt headers together.
|
||||||
#define gli glm
|
#define gli glm
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#if defined(__clang__)
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wunused-variable"
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
||||||
#pragma clang diagnostic ignored "-Wignored-qualifiers"
|
#pragma clang diagnostic ignored "-Wignored-qualifiers"
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include <gli/gli.hpp>
|
#include <gli/gli.hpp>
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#if defined(__clang__)
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue