mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 02:36:27 +01:00
[GLExtensions] Future proof ourself by putting the default: instance on the top, so we'll grab extensions if they support something newer. Handle older GLVersions in the case they get that far.
This commit is contained in:
parent
2a11fead5c
commit
a5ffe9932a
@ -835,6 +835,7 @@ namespace GLExtensions
|
|||||||
// This has intentional fall through
|
// This has intentional fall through
|
||||||
switch (_GLVersion)
|
switch (_GLVersion)
|
||||||
{
|
{
|
||||||
|
default:
|
||||||
case 330:
|
case 330:
|
||||||
{
|
{
|
||||||
std::string gl330exts[] = {
|
std::string gl330exts[] = {
|
||||||
@ -911,7 +912,15 @@ namespace GLExtensions
|
|||||||
for (auto it : gl300exts)
|
for (auto it : gl300exts)
|
||||||
_extensionlist[it] = true;
|
_extensionlist[it] = true;
|
||||||
}
|
}
|
||||||
default:
|
case 210:
|
||||||
|
case 200:
|
||||||
|
case 150:
|
||||||
|
case 140:
|
||||||
|
case 130:
|
||||||
|
case 121:
|
||||||
|
case 120:
|
||||||
|
case 110:
|
||||||
|
case 100:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user