mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-16 16:37:34 +00:00
Fixed missing Mode value in CocoaContext.
Crashed E.g. GameWindow States example.
This commit is contained in:
parent
ddcc8df5ec
commit
df6caa3cbb
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue