diff --git a/Source/GLControl/GLControlFactory.cs b/Source/GLControl/GLControlFactory.cs index 4040fe99..2ea266c6 100644 --- a/Source/GLControl/GLControlFactory.cs +++ b/Source/GLControl/GLControlFactory.cs @@ -44,8 +44,8 @@ namespace OpenTK throw new ArgumentNullException("control"); if (Configuration.RunningOnWindows) return new WinGLControl(mode, control); - else if (Configuration.RunningOnX11) return new X11GLControl(mode, control); else if (Configuration.RunningOnMacOS) return new CarbonGLControl(mode, control); + else if (Configuration.RunningOnX11) return new X11GLControl(mode, control); else throw new PlatformNotSupportedException(); } }