Merge pull request #2756 from Sonicadvance1/fix_glextensions
Fix an oversight in GLExtensions
This commit is contained in:
commit
53bc147b45
|
@ -1984,7 +1984,7 @@ namespace GLExtensions
|
||||||
while (buffer >> tmp)
|
while (buffer >> tmp)
|
||||||
{
|
{
|
||||||
if (tmp[0] == '!')
|
if (tmp[0] == '!')
|
||||||
result &= !m_extension_list[tmp.erase(0)];
|
result &= !m_extension_list[tmp.erase(0, 1)];
|
||||||
else
|
else
|
||||||
result &= m_extension_list[tmp];
|
result &= m_extension_list[tmp];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue