diff options
| author | Adam Johnson <AdamJohnso@gmail.com> | 2020-11-08 00:43:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-07 21:43:59 -0800 |
| commit | 9c56f59ed4e729049bd7d084a400c2bc86ab2066 (patch) | |
| tree | d260bf76333378b8f8d1c9d5a49fe6a2574dccdc /ports/physx/fix_discarded_qualifiers.patch | |
| parent | 5a97bb2f576f951959e26baa377afcd2777acb48 (diff) | |
| download | vcpkg-9c56f59ed4e729049bd7d084a400c2bc86ab2066.tar.gz vcpkg-9c56f59ed4e729049bd7d084a400c2bc86ab2066.zip | |
[physx] Add support for Linux, macOS, and UWP (#13849)
Diffstat (limited to 'ports/physx/fix_discarded_qualifiers.patch')
| -rw-r--r-- | ports/physx/fix_discarded_qualifiers.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/physx/fix_discarded_qualifiers.patch b/ports/physx/fix_discarded_qualifiers.patch new file mode 100644 index 000000000..b007e5635 --- /dev/null +++ b/ports/physx/fix_discarded_qualifiers.patch @@ -0,0 +1,13 @@ +diff --git a/physx/source/geomutils/src/gjk/GuGJKType.h b/physx/source/geomutils/src/gjk/GuGJKType.h
+index a0099e2f..b824ec7a 100644
+--- a/physx/source/geomutils/src/gjk/GuGJKType.h
++++ b/physx/source/geomutils/src/gjk/GuGJKType.h
+@@ -151,7 +151,7 @@ namespace Gu
+
+ virtual Ps::aos::Vec3V getCenter() const { return mAToB.transform(getConvex<Convex>().getCenter()); }
+
+- PX_FORCE_INLINE Ps::aos::PsMatTransformV& getRelativeTransform(){ return mAToB; }
++ PX_FORCE_INLINE const Ps::aos::PsMatTransformV& getRelativeTransform(){ return mAToB; }
+
+ //ML: we can't force inline function, otherwise win modern will throw compiler error
+ PX_INLINE RelativeConvex<typename ConvexGeom<Convex>::Type > getGjkConvex() const
|
