forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[magnum-plugins] Fix basisimporter/basisimageconverter features (mic…
…rosoft#8939) * [magnum-plugins] Patch FindBasisUniversal to find prebuilt basisu Signed-off-by: Squareys <[email protected]> * [magnum-plugins] Patch BasisImporter to use slightly outdated basisu jherico's fork which the vcpkg port is based on does not integrate BinomialLLC/basis_universal@54304fa yet, which renamed a parameter. Signed-off-by: Squareys <[email protected]> * [magnum-plugins] Only apply FindBasisUniversal patch on release The change is integrated upstream for --head builds already. Signed-off-by: Squareys <[email protected]> * [magnum-plugins] Download large patch from GitHub history
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 4d59a1eafc7a5828a0dedc92a713b3394d5f64fc Mon Sep 17 00:00:00 2001 | ||
From: Squareys <[email protected]> | ||
Date: Wed, 6 Nov 2019 18:45:17 +0100 | ||
Subject: [PATCH] fix vcpkg build | ||
|
||
--- | ||
src/MagnumPlugins/BasisImageConverter/BasisImageConverter.cpp | 4 +++- | ||
1 file changed, 3 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/src/MagnumPlugins/BasisImageConverter/BasisImageConverter.cpp b/src/MagnumPlugins/BasisImageConverter/BasisImageConverter.cpp | ||
index db3a39cb..d5c80b11 100644 | ||
--- a/src/MagnumPlugins/BasisImageConverter/BasisImageConverter.cpp | ||
+++ b/src/MagnumPlugins/BasisImageConverter/BasisImageConverter.cpp | ||
@@ -106,7 +106,9 @@ Containers::Array<char> BasisImageConverter::doExportToData(const ImageView2D& i | ||
|
||
/* Hierarchical virtual selector codebook options */ | ||
PARAM_CONFIG_FIX_NAME(global_sel_pal, bool, "global_selector_palette"); | ||
- PARAM_CONFIG_FIX_NAME(auto_global_sel_pal, bool, "auto_global_selector_palette"); | ||
+ /* vcpkg version is begind 54304fa01443280bbaa9854f16c9f1756b17b40b, which changes name | ||
+ * to m_auto_global_sel_pal */ | ||
+ params.m_no_auto_global_sel_pal = !configuration().value<bool>("auto_global_selector_palette"); | ||
PARAM_CONFIG_FIX_NAME(no_hybrid_sel_cb, bool, "no_hybrid_selector_codebook"); | ||
PARAM_CONFIG_FIX_NAME(global_pal_bits, int, "global_palette_bits"); | ||
PARAM_CONFIG_FIX_NAME(global_mod_bits, int, "global_modifier_bits"); | ||
-- | ||
2.17.0.windows.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters