Skip to content

Commit

Permalink
[libsquish] add missing SQUISH_EXPORT (#11124)
Browse files Browse the repository at this point in the history
  • Loading branch information
here-mikelley committed May 8, 2020
1 parent 124e815 commit 3b08f6f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/libsquish/CONTROL
@@ -1,4 +1,4 @@
Source: libsquish
Version: 1.15-2
Version: 1.15-3
Homepage: https://sourceforge.net/projects/libsquish
Description: Open source DXT compression library.
7 changes: 7 additions & 0 deletions ports/libsquish/fix-export-symbols.patch
Expand Up @@ -44,6 +44,13 @@ index 14c9bb5..aaffbb2 100644
+
//! All squish API functions live in this namespace.
namespace squish {

@@ -115,5 +117,5 @@
*/
-void CompressMasked( u8 const* rgba, int mask, void* block, int flags, float* metric = 0 );
+SQUISH_EXPORT void CompressMasked( u8 const* rgba, int mask, void* block, int flags, float* metric = 0 );

// -----------------------------------------------------------------------------

@@ -176,7 +178,7 @@ inline void Compress( u8 const* rgba, void* block, int flags, float* metric = 0
however, DXT1 will be used by default if none is specified. All other flags
Expand Down

0 comments on commit 3b08f6f

Please sign in to comment.