Permalink
Browse files

Fixed missing Mode value in CocoaContext.

Crashed E.g. GameWindow States example.
  • Loading branch information...
1 parent ddcc8df commit df6caa3cbb4c057baee68064fd88596148431398 @Ollhax Ollhax committed with thefiddler Apr 22, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/OpenTK/Platform/MacOS/CocoaContext.cs
@@ -149,6 +149,7 @@ private void CreateContext(GraphicsMode mode, CocoaWindowInfo cocoaWindow, IntPt
// Finalize
Handle = new ContextHandle(context);
+ Mode = mode;
Update(cocoaWindow);
MakeCurrent(cocoaWindow);
}

0 comments on commit df6caa3

Please sign in to comment.