mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue