mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
[GLExtensions] Support ORing of extensions when checking for support.
Makes my life easier.
This commit is contained in:
parent
cc3dc05438
commit
6d2fd8ae37
1 changed files with 2 additions and 0 deletions
|
@ -2056,6 +2056,8 @@ namespace GLExtensions
|
||||||
{
|
{
|
||||||
if (tmp[0] == '!')
|
if (tmp[0] == '!')
|
||||||
result &= !m_extension_list[tmp.erase(0, 1)];
|
result &= !m_extension_list[tmp.erase(0, 1)];
|
||||||
|
else if (tmp[0] == '|')
|
||||||
|
result |= m_extension_list[tmp.erase(0, 1)];
|
||||||
else
|
else
|
||||||
result &= m_extension_list[tmp];
|
result &= m_extension_list[tmp];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue