mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-31 14:47:10 +00:00
Merge pull request #1783 from degasus/disablelogs
OGL: disable driver warnings fetch
This commit is contained in:
commit
479d1e56c3
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