From 19eb72b3a9afe06536f346a822aac4e57841e5d4 Mon Sep 17 00:00:00 2001 From: "Stefanos A." Date: Fri, 10 Jan 2014 16:56:26 +0100 Subject: [PATCH] [OpenTK] Fixed Utilities.CreateSdl2WindowInfo Utilities.CreateSdl2WindowInfo should store the specified windowHandle directly instead of trying to call SDL.SDL.CreateWindowFrom. --- 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 67c92a78..cbf0e811 100644 --- a/Source/OpenTK/Platform/Utilities.cs +++ b/Source/OpenTK/Platform/Utilities.cs @@ -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