Fixed missing Mode value in CocoaContext.

Crashed E.g. GameWindow States example.
This commit is contained in:
Olle Håkansson 2014-04-22 20:02:05 +02:00 committed by thefiddler
parent ddcc8df5ec
commit df6caa3cbb

View file

@ -149,6 +149,7 @@ namespace OpenTK
// Finalize // Finalize
Handle = new ContextHandle(context); Handle = new ContextHandle(context);
Mode = mode;
Update(cocoaWindow); Update(cocoaWindow);
MakeCurrent(cocoaWindow); MakeCurrent(cocoaWindow);
} }