mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 05:05:28 +00:00
GetGL2Extension now works for both uppercase and lowercase strings.
This commit is contained in:
parent
b1d46915a9
commit
e56a9500ec
|
@ -193,6 +193,7 @@ namespace Bind
|
||||||
|
|
||||||
internal static string GetGL2Extension(string name)
|
internal static string GetGL2Extension(string name)
|
||||||
{
|
{
|
||||||
|
name = name.ToUpper();
|
||||||
if (name.EndsWith("ARB")) { return "Arb"; }
|
if (name.EndsWith("ARB")) { return "Arb"; }
|
||||||
if (name.EndsWith("EXT")) { return "Ext"; }
|
if (name.EndsWith("EXT")) { return "Ext"; }
|
||||||
if (name.EndsWith("ATI")) { return "Ata"; }
|
if (name.EndsWith("ATI")) { return "Ata"; }
|
||||||
|
|
Loading…
Reference in a new issue