Fix an oversight in GLExtensions
I only wanted to erase the first character in the string, not the entire thing. Fixes Qualcomm and PowerVR devices crashing out immediately.
This commit is contained in:
parent
3d6ee7313d
commit
dc46ae0380
|
@ -1984,7 +1984,7 @@ namespace GLExtensions
|
|||
while (buffer >> tmp)
|
||||
{
|
||||
if (tmp[0] == '!')
|
||||
result &= !m_extension_list[tmp.erase(0)];
|
||||
result &= !m_extension_list[tmp.erase(0, 1)];
|
||||
else
|
||||
result &= m_extension_list[tmp];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue