mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-09 08:00:40 +00:00
Update Utilties.CreateWindowInfo code path to work on MacOS.
This commit is contained in:
parent
d3001f8a26
commit
8778d1fca9
|
@ -1,4 +1,4 @@
|
||||||
#region --- License ---
|
#region --- License ---
|
||||||
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
||||||
* See license.txt for license info
|
* See license.txt for license info
|
||||||
*/
|
*/
|
||||||
|
@ -318,7 +318,7 @@ namespace OpenTK.Platform
|
||||||
|
|
||||||
private static IWindowInfo CreateOSXWindowInfo(IntPtr controlHandle)
|
private static IWindowInfo CreateOSXWindowInfo(IntPtr controlHandle)
|
||||||
{
|
{
|
||||||
throw new PlatformNotSupportedException("Refer to http://www.opentk.com for more information.");
|
return new OpenTK.Platform.MacOS.CarbonWindowInfo(controlHandle, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue