mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 08:35:33 +00:00
[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:
parent
aff9719872
commit
19eb72b3a9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue