mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 06:03:32 +01:00
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…
x
Reference in New Issue
Block a user