[OpenTK] Fixed Utilities.CreateSdl2WindowInfo

Utilities.CreateSdl2WindowInfo should store the specified windowHandle
directly instead of trying to call SDL.SDL.CreateWindowFrom.
This commit is contained in:
Stefanos A. 2014-01-10 16:56:26 +01:00
parent aff9719872
commit 19eb72b3a9

View file

@ -301,7 +301,7 @@ namespace OpenTK.Platform
public static IWindowInfo CreateSdl2WindowInfo(IntPtr windowHandle)
{
return new OpenTK.Platform.SDL2.Sdl2WindowInfo(
SDL2.SDL.CreateWindowFrom(windowHandle), null);
windowHandle, null);
}
#endregion