Fixed extension loading.
This commit is contained in:
parent
d129fc26d9
commit
3e309affe8
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue