GetGL2Extension now works for both uppercase and lowercase strings.

This commit is contained in:
the_fiddler 2008-01-03 00:06:55 +00:00
parent b1d46915a9
commit e56a9500ec

View file

@ -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"; }