mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
[GLExtensions] Support ORing of extensions when checking for support.
Makes my life easier.
This commit is contained in:
@ -2056,6 +2056,8 @@ namespace GLExtensions
|
||||
{
|
||||
if (tmp[0] == '!')
|
||||
result &= !m_extension_list[tmp.erase(0, 1)];
|
||||
else if (tmp[0] == '|')
|
||||
result |= m_extension_list[tmp.erase(0, 1)];
|
||||
else
|
||||
result &= m_extension_list[tmp];
|
||||
}
|
||||
|
Reference in New Issue
Block a user