Fixed creating contexts without native windows.
authorOlle Håkansson <ollhak@gmail.com>
Sun, 27 Apr 2014 07:58:05 +0000 (09:58 +0200)
committerOlle Håkansson <ollhak@gmail.com>
Sun, 27 Apr 2014 07:58:05 +0000 (09:58 +0200)
commita24ce9ba118c8b7a7fb38b80c8dc9e1a47493659
treebdfc262dbc5338bfd4aa78cff26de9a29edb2678
parenta79086bb20682139b1bc7e03494b0811057c8e08
Fixed creating contexts without native windows.

To create a context for the GTK GLWidget, you need to be able to
specify the exact NSView you want the OpenGL context to apply to. Also,
you don’t want to initialise the NSApplication in this situation, which
the CocoaContext did before (unintentionally).
Source/OpenTK/Platform/MacOS/Cocoa/Cocoa.cs
Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs
Source/OpenTK/Platform/MacOS/CocoaWindowInfo.cs
Source/OpenTK/Platform/Utilities.cs