mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +09:00
Revert "[Fix] (...): Skip external libraries loading for MG_Test and MG_Bench."
This reverts commit da0e326534.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user