Signed-off-by: 屑屑屑 <jiangwenda5@h-partners.com>
This commit is contained in:
屑屑屑
2026-04-11 12:17:18 +08:00
parent 444b15bde0
commit fcdb730552
+3
View File
@@ -30,6 +30,7 @@
#endif
#include <cstdlib>
#include <limits>
#include <mutex>
#ifdef ASTC_CUSTOMIZED_ENABLE
#include <unistd.h>
@@ -2306,6 +2307,7 @@ public:
CustomizedBlockMode customizedBlockModeFunc_;
bool LoadSutCustomizedSo()
{
std::lock_guard<std::mutex> lock(astcCustomizedSoMutex_);
if (!astcCustomizedSoOpened_)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
@@ -2412,6 +2414,7 @@ private:
#else
void *astcCustomizedSoHandle_;
#endif
std::mutex astcCustomizedSoMutex_;
};
extern AstcCustomizedSoManager g_astcCustomizedSoManager;
#endif