Update Utilties.CreateWindowInfo code path to work on MacOS.

This commit is contained in:
kanato 2008-12-11 05:32:06 +00:00
parent d3001f8a26
commit 8778d1fca9

View file

@ -1,4 +1,4 @@
#region --- License ---
#region --- License ---
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
* See license.txt for license info
*/
@ -318,7 +318,7 @@ namespace OpenTK.Platform
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