Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/basis_universal/patches/0001-external-zstd-pr344.patch
9904 views
1
diff --git a/thirdparty/basis_universal/encoder/basisu_comp.cpp b/thirdparty/basis_universal/encoder/basisu_comp.cpp
2
index 59a2a50900..e9aa20f313 100644
3
--- a/thirdparty/basis_universal/encoder/basisu_comp.cpp
4
+++ b/thirdparty/basis_universal/encoder/basisu_comp.cpp
5
@@ -33,7 +33,7 @@
6
#endif
7
8
#if BASISD_SUPPORT_KTX2_ZSTD
9
-#include "../zstd/zstd.h"
10
+#include <zstd.h>
11
#endif
12
13
// Set to 1 to disable the mipPadding alignment workaround (which only seems to be needed when no key-values are written at all)
14
diff --git a/thirdparty/basis_universal/transcoder/basisu_transcoder.cpp b/thirdparty/basis_universal/transcoder/basisu_transcoder.cpp
15
index 0f7ca1565f..d7bce42013 100644
16
--- a/thirdparty/basis_universal/transcoder/basisu_transcoder.cpp
17
+++ b/thirdparty/basis_universal/transcoder/basisu_transcoder.cpp
18
@@ -169,7 +169,7 @@
19
// If BASISD_SUPPORT_KTX2_ZSTD is 0, UASTC files compressed with Zstd cannot be loaded.
20
#if BASISD_SUPPORT_KTX2_ZSTD
21
// We only use two Zstd API's: ZSTD_decompress() and ZSTD_isError()
22
- #include "../zstd/zstd.h"
23
+ #include <zstd.h>
24
#endif
25
#endif
26
27
28