projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aff9719
)
[OpenTK] Fixed Utilities.CreateSdl2WindowInfo
author
Stefanos A.
<stapostol@gmail.com>
Fri, 10 Jan 2014 15:56:26 +0000
(16:56 +0100)
committer
Stefanos A.
<stapostol@gmail.com>
Fri, 10 Jan 2014 15:56:26 +0000
(16:56 +0100)
Utilities.CreateSdl2WindowInfo should store the specified windowHandle
directly instead of trying to call SDL.SDL.CreateWindowFrom.
Source/OpenTK/Platform/Utilities.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/Utilities.cs
b/Source/OpenTK/Platform/Utilities.cs
index
67c92a7
..
cbf0e81
100644
(file)
--- 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