mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
OGL: disable driver warnings fetch
This did give a decent slowdown on some drivers.
This commit is contained in:
parent
9465a877f8
commit
1ed41672f5
3 changed files with 28 additions and 12 deletions
|
@ -111,9 +111,9 @@ public:
|
|||
m_Log[type]->SetEnable(enable);
|
||||
}
|
||||
|
||||
bool IsEnabled(LogTypes::LOG_TYPE type) const
|
||||
bool IsEnabled(LogTypes::LOG_TYPE type, LogTypes::LOG_LEVELS level = LogTypes::LNOTICE) const
|
||||
{
|
||||
return m_Log[type]->IsEnabled();
|
||||
return m_Log[type]->IsEnabled() && m_Log[type]->GetLevel() >= level;
|
||||
}
|
||||
|
||||
std::string GetShortName(LogTypes::LOG_TYPE type) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue