Skip to content
This repository
Browse code

[OpenTK] Fixed Utilities.CreateSdl2WindowInfo

Utilities.CreateSdl2WindowInfo should store the specified windowHandle
directly instead of trying to call SDL.SDL.CreateWindowFrom.
  • Loading branch information...
commit 19eb72b3a9afe06536f346a822aac4e57841e5d4 1 parent aff9719
authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  Source/OpenTK/Platform/Utilities.cs
2  Source/OpenTK/Platform/Utilities.cs
@@ -301,7 +301,7 @@ public static IWindowInfo CreateDummyWindowInfo()
301 301
         public static IWindowInfo CreateSdl2WindowInfo(IntPtr windowHandle)
302 302
         {
303 303
             return new OpenTK.Platform.SDL2.Sdl2WindowInfo(
304  
-                SDL2.SDL.CreateWindowFrom(windowHandle), null);
  304
+                windowHandle, null);
305 305
         }
306 306
 
307 307
         #endregion

0 notes on commit 19eb72b

Please sign in to comment.
Something went wrong with that request. Please try again.