Revert "[Fix] (...): Skip external libraries loading for MG_Test and MG_Bench."

This reverts commit da0e326534.
This commit is contained in:
BZLZHH
2026-01-01 10:49:01 +08:00
parent e298e5be51
commit 876195de80
10 changed files with 13 additions and 18 deletions
+1 -7
View File
@@ -53,7 +53,7 @@ namespace MobileGL {
#endif
}
void Init(Bool loadExternalLibraries) {
void Init() {
MGLOG_D("Initializing MobileGL Backend...");
#if MOBILEGL_BACKEND == MOBILEGL_BACKEND_DILIGENT
@@ -73,12 +73,6 @@ namespace MobileGL {
MG_Config::RendererInfoPtr = MakeUnique<RendererInfo>(Unknown::RendererInfoUnknown);
#endif
if (!loadExternalLibraries) {
MGLOG_W("Skipping external library loading. Calling functions that call external libraries may cause "
"crashes.");
return;
}
InitSpecificBackendLibs();
LogBackendInfo();
}