Use Wgl::GetAddress instead of Wgl::GetProcAddress in Utilities.

This commit is contained in:
Jarl Gullberg 2017-09-20 16:52:45 +02:00
parent 9215744415
commit 1f33a6dd84
No known key found for this signature in database
GPG key ID: FBB69BD7CAE095A0
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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))