mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
Huge shader infrastructure refactor
This commit is contained in:
@@ -490,14 +490,6 @@ void Console::dumpLog()
|
||||
|
||||
void Console::RegisterLogger(Console* con)
|
||||
{
|
||||
/* Determine if console logger already added */
|
||||
for (auto& logger : logvisor::MainLoggers)
|
||||
{
|
||||
if (typeid(logger.get()) == typeid(LogVisorAdapter))
|
||||
return;
|
||||
}
|
||||
|
||||
/* Otherwise construct new console logger */
|
||||
logvisor::MainLoggers.emplace_back(new LogVisorAdapter(con));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user