mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 06:55:37 +00:00
Return proper CarbonWindowInfo instance instead of DummyWindowInfo.
This commit is contained in:
parent
92e2104c9d
commit
e2b3bda885
|
@ -39,11 +39,14 @@ namespace OpenTK
|
|||
{
|
||||
GraphicsMode mode;
|
||||
Control control;
|
||||
IWindowInfo window_info;
|
||||
|
||||
internal CarbonGLControl(GraphicsMode mode, Control owner)
|
||||
{
|
||||
this.mode = mode;
|
||||
this.control = owner;
|
||||
|
||||
window_info = Utilities.CreateMacOSCarbonWindowInfo(control.Handle, false, true);
|
||||
}
|
||||
|
||||
#region IGLControl Members
|
||||
|
@ -68,7 +71,7 @@ namespace OpenTK
|
|||
{
|
||||
get
|
||||
{
|
||||
return Utilities.CreateDummyWindowInfo();
|
||||
return window_info;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue