diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /math/glm/files/patch-glm_gtx_bit.hpp | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'math/glm/files/patch-glm_gtx_bit.hpp')
| -rw-r--r-- | math/glm/files/patch-glm_gtx_bit.hpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/math/glm/files/patch-glm_gtx_bit.hpp b/math/glm/files/patch-glm_gtx_bit.hpp deleted file mode 100644 index 395022876680..000000000000 --- a/math/glm/files/patch-glm_gtx_bit.hpp +++ /dev/null @@ -1,60 +0,0 @@ -This is needed to fix x11-wm/gamescope with glm 1.0.1 - -https://github.com/g-truc/glm/issues/1269 - ---- glm/gtx/bit.hpp.orig 2024-02-27 17:19:47 UTC -+++ glm/gtx/bit.hpp -@@ -46,7 +46,7 @@ namespace glm - /// @see gtc_round - /// @see gtx_bit - template<typename genIUType> -- GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value); -+ GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value); - - /// Return the power of two number which value is just higher the input value. - /// Deprecated, use ceilPowerOfTwo from GTC_round instead -@@ -54,7 +54,7 @@ namespace glm - /// @see gtc_round - /// @see gtx_bit - template<length_t L, typename T, qualifier Q> -- GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoAbove(vec<L, T, Q> const& value); -+ GLM_FUNC_DECL vec<L, T, Q> powerOfTwoAbove(vec<L, T, Q> const& value); - - /// Return the power of two number which value is just lower the input value. - /// Deprecated, use floorPowerOfTwo from GTC_round instead -@@ -62,7 +62,7 @@ namespace glm - /// @see gtc_round - /// @see gtx_bit - template<typename genIUType> -- GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value); -+ GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value); - - /// Return the power of two number which value is just lower the input value. - /// Deprecated, use floorPowerOfTwo from GTC_round instead -@@ -70,7 +70,7 @@ namespace glm - /// @see gtc_round - /// @see gtx_bit - template<length_t L, typename T, qualifier Q> -- GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoBelow(vec<L, T, Q> const& value); -+ GLM_FUNC_DECL vec<L, T, Q> powerOfTwoBelow(vec<L, T, Q> const& value); - - /// Return the power of two number which value is the closet to the input value. - /// Deprecated, use roundPowerOfTwo from GTC_round instead -@@ -78,7 +78,7 @@ namespace glm - /// @see gtc_round - /// @see gtx_bit - template<typename genIUType> -- GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value); -+ GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value); - - /// Return the power of two number which value is the closet to the input value. - /// Deprecated, use roundPowerOfTwo from GTC_round instead -@@ -86,7 +86,7 @@ namespace glm - /// @see gtc_round - /// @see gtx_bit - template<length_t L, typename T, qualifier Q> -- GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoNearest(vec<L, T, Q> const& value); -+ GLM_FUNC_DECL vec<L, T, Q> powerOfTwoNearest(vec<L, T, Q> const& value); - - /// @} - } //namespace glm |
