summaryrefslogtreecommitdiff
path: root/repo/system/glm/fix-endian-test.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/system/glm/fix-endian-test.patch
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/system/glm/fix-endian-test.patch')
-rw-r--r--repo/system/glm/fix-endian-test.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/repo/system/glm/fix-endian-test.patch b/repo/system/glm/fix-endian-test.patch
deleted file mode 100644
index ba2cce4..0000000
--- a/repo/system/glm/fix-endian-test.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/test/gtc/gtc_packing.cpp b/test/gtc/gtc_packing.cpp
-index 5830999..86167c5 100644
---- a/test/gtc/gtc_packing.cpp
-+++ b/test/gtc/gtc_packing.cpp
-@@ -5,6 +5,8 @@
- #include <cstdio>
- #include <vector>
-
-+#include <endian.h>
-+
- void print_bits(float const& s)
- {
- union
-@@ -154,6 +156,7 @@ int test_U3x10_1x2()
- Error += glm::all(glm::equal(v0, v1)) ? 0 : 1;
- }
-
-+#if BYTE_ORDER == LITTLE_ENDIAN
- glm::u8vec4 const v0(0xff, 0x77, 0x0, 0x33);
- glm::uint32 const p0 = *reinterpret_cast<glm::uint32 const*>(&v0[0]);
- glm::uint32 const r0 = 0x330077ff;
-@@ -165,7 +168,7 @@ int test_U3x10_1x2()
- glm::uint32 const r1 = 0xc001dcff;
-
- Error += p1 == r1 ? 0 : 1;
--
-+#endif
- return Error;
- }
-