Fixed extension loading.

This commit is contained in:
the_fiddler 2008-07-18 23:08:50 +00:00
parent d129fc26d9
commit 3e309affe8

View file

@ -149,7 +149,7 @@ namespace OpenTK.Platform
return false;
}
FieldInfo f = type.GetField(extension, BindingFlags.Static | BindingFlags.NonPublic);
FieldInfo f = extensions_class.GetField(extension, BindingFlags.Static | BindingFlags.NonPublic);
if (f == null)
{
Debug.Print("Extension \"", extension, "\" not found in ", type.ToString());