diff --git a/Source/OpenTK/Platform/MacOS/MacOSFactory.cs b/Source/OpenTK/Platform/MacOS/MacOSFactory.cs index ad540311..97473c23 100644 --- a/Source/OpenTK/Platform/MacOS/MacOSFactory.cs +++ b/Source/OpenTK/Platform/MacOS/MacOSFactory.cs @@ -70,7 +70,7 @@ namespace OpenTK.Platform.MacOS { return (GraphicsContext.GetCurrentContextDelegate)delegate { - return new ContextHandle(Agl.aglGetCurrentContext()); + return new ContextHandle(Cgl.GetCurrentContext()); }; }