Commit 097e3176 authored by Jan Lepper's avatar Jan Lepper

Revert "possible fix for some log output missing (on some platforms)"

This reverts commit edf181dd.
parent ae2726d5
......@@ -363,7 +363,7 @@ void WINAPI il2ge_init()
ofstream log(g_log_file_name);
g_log.m_outputs.push_back(&cout);
g_log.m_outputs.push_back(&cerr);
g_log.m_outputs.push_back(&log);
g_log.printSeparator();
......@@ -391,11 +391,9 @@ void WINAPI il2ge_init()
ini.GetBoolean("", "EnableObjectShaders", g_config.enable_object_shaders);
}
g_log.m_outputs.clear();
g_log.m_outputs.pop_back();
log.close();
g_log.m_outputs.push_back(&cout);
redirectOutput();
g_main_thread = GetCurrentThreadId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment