Remove references to unused function GetWindowDC.

This commit is contained in:
Jarl Gullberg 2017-07-20 17:49:44 +02:00
parent f77734ae60
commit 04ef9fc262
No known key found for this signature in database
GPG key ID: FBB69BD7CAE095A0
2 changed files with 1 additions and 4 deletions

View file

@ -462,9 +462,6 @@ namespace OpenTK.Platform.Windows
[DllImport("user32.dll")] [DllImport("user32.dll")]
internal static extern IntPtr GetDC(IntPtr hwnd); internal static extern IntPtr GetDC(IntPtr hwnd);
[DllImport("user32.dll")]
internal static extern IntPtr GetWindowDC(IntPtr hwnd);
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>

View file

@ -77,7 +77,7 @@ namespace OpenTK.Platform.Windows
{ {
dc = Functions.GetDC(this.Handle); dc = Functions.GetDC(this.Handle);
} }
//dc = Functions.GetWindowDC(this.Handle);
return dc; return dc;
} }
} }