diff --git a/src/OpenTK/Platform/Utilities.cs b/src/OpenTK/Platform/Utilities.cs index a1065bd9..4a63c8a0 100644 --- a/src/OpenTK/Platform/Utilities.cs +++ b/src/OpenTK/Platform/Utilities.cs @@ -182,7 +182,7 @@ namespace OpenTK.Platform #if WIN32 if (Configuration.RunningOnWindows) { - return Platform.Windows.Wgl.GetProcAddress; + return Platform.Windows.Wgl.GetAddress; } #endif #if X11 diff --git a/src/OpenTK/Platform/Windows/WglHelper.cs b/src/OpenTK/Platform/Windows/WglHelper.cs index 226e8430..70d0c821 100644 --- a/src/OpenTK/Platform/Windows/WglHelper.cs +++ b/src/OpenTK/Platform/Windows/WglHelper.cs @@ -94,7 +94,7 @@ namespace OpenTK.Platform.Windows get { return sync; } } - private IntPtr GetAddress(string function_string) + internal static IntPtr GetAddress(string function_string) { IntPtr address = Wgl.GetProcAddress(function_string); if (!IsValid(address))