Fixing logger and windows version - remove terminal
This commit is contained in:
1 parent
76287dda46
commit
a7d17d9afd
27 files changed
+349
-243
No files matched your search
+2
-2
@@ -537,7 +537,7 @@ namespace ZL {
|
||||
if (!t.contains(key) || !t[key].is_string()) return nullptr;
|
||||
std::string path = t[key].get<std::string>();
|
||||
try {
|
||||
std::cout << "UiManager: loading texture for button '" << btn->name << "' : " << path << " Zip file: " << zipFile << std::endl;
|
||||
logger() << "UiManager: loading texture for button '" << btn->name << "' : " << path << " Zip file: " << zipFile << std::endl;
|
||||
return renderer.textureManager.LoadFromPng(path, zipFile, true);
|
||||
}
|
||||
catch (const std::exception& e) {
|
||||
@@ -571,7 +571,7 @@ namespace ZL {
|
||||
if (!t.contains(key) || !t[key].is_string()) return nullptr;
|
||||
std::string path = t[key].get<std::string>();
|
||||
try {
|
||||
std::cout << "UiManager: --loading texture for slider '" << s->name << "' : " << path << " Zip file: " << zipFile << std::endl;
|
||||
logger() << "UiManager: --loading texture for slider '" << s->name << "' : " << path << " Zip file: " << zipFile << std::endl;
|
||||
return renderer.textureManager.LoadFromPng(path, zipFile, true);
|
||||
}
|
||||
catch (const std::exception& e) {
|
||||
|
||||
Reference in new issue
Block a user