From 3e309affe80a127fb958bd9b0461a320bff17a69 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Fri, 18 Jul 2008 23:08:50 +0000 Subject: [PATCH] Fixed extension loading. --- Source/OpenTK/Platform/Utilities.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/Utilities.cs b/Source/OpenTK/Platform/Utilities.cs index 5137a039..ea2fcfba 100644 --- a/Source/OpenTK/Platform/Utilities.cs +++ b/Source/OpenTK/Platform/Utilities.cs @@ -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());