diff --git a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs index 29fc80c1..b15a9f7f 100644 --- a/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs +++ b/Source/OpenTK/Platform/MacOS/CarbonGLNative.cs @@ -36,7 +36,7 @@ namespace OpenTK.Platform.MacOS using Carbon; using Graphics; - class CarbonGLNative : INativeGLWindow, INativeWindow + class CarbonGLNative : INativeWindow { #region Fields diff --git a/Source/OpenTK/Platform/MacOS/MacOSFactory.cs b/Source/OpenTK/Platform/MacOS/MacOSFactory.cs index 0447a1ce..15c76f15 100644 --- a/Source/OpenTK/Platform/MacOS/MacOSFactory.cs +++ b/Source/OpenTK/Platform/MacOS/MacOSFactory.cs @@ -33,15 +33,10 @@ namespace OpenTK.Platform.MacOS { using Graphics; - class MacOSFactory : IPlatformFactory + class MacOSFactory : IPlatformFactory { #region IPlatformFactory Members - public INativeGLWindow CreateGLNative() - { - throw new NotImplementedException(); - } - public INativeWindow CreateNativeWindow(int x, int y, int width, int height, string title, GraphicsMode mode, GameWindowFlags options, DisplayDevice device) { return new CarbonGLNative(x, y, width, height, title, mode, options, device); diff --git a/Source/OpenTK/Platform/Windows/WinFactory.cs b/Source/OpenTK/Platform/Windows/WinFactory.cs index 11f445ae..a5efcbf2 100644 --- a/Source/OpenTK/Platform/Windows/WinFactory.cs +++ b/Source/OpenTK/Platform/Windows/WinFactory.cs @@ -38,11 +38,6 @@ using OpenTK.Input; { #region IPlatformFactory Members - public INativeGLWindow CreateGLNative() - { - throw new NotSupportedException(); - } - public INativeWindow CreateNativeWindow(int x, int y, int width, int height, string title, GraphicsMode mode, GameWindowFlags options, DisplayDevice device) { return new WinGLNative(x, y, width, height, title, options, device);