Ref T723 [xswiftbus] Expose configuration for render phase debug messages

This commit is contained in:
Mat Sutcliffe
2019-12-27 20:50:55 +00:00
parent 95d273442c
commit 8d204cded1
9 changed files with 53 additions and 0 deletions

View File

@@ -251,6 +251,10 @@ namespace XSwiftBus
// whether or not async loading is enabled: 1 means enabled, 0 means disabled
return 1;
}
else if (strcmp(section, "debug") == 0 && strcmp(name, "render_phases") == 0)
{
return s_instance->getConfig().getDebugMode() ? 1 : 0;
}
return def;
}