[libsquish] add missing SQUISH_EXPORT (#11124)

This commit is contained in:
here-mikelley 2020-05-07 22:30:58 -07:00 committed by GitHub
parent 124e8151c1
commit 3b08f6f9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
Source: libsquish Source: libsquish
Version: 1.15-2 Version: 1.15-3
Homepage: https://sourceforge.net/projects/libsquish Homepage: https://sourceforge.net/projects/libsquish
Description: Open source DXT compression library. Description: Open source DXT compression library.

View File

@ -45,6 +45,13 @@ index 14c9bb5..aaffbb2 100644
//! All squish API functions live in this namespace. //! All squish API functions live in this namespace.
namespace squish { 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 @@ -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 however, DXT1 will be used by default if none is specified. All other flags
are ignored. are ignored.