From 623015650b0f65246b717ba909d95ffc64b37367 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 24 Jun 2009 14:38:48 +0000 Subject: [PATCH] Removed obsolete code. --- Source/OpenTK/Platform/MacOS/CarbonGLNative.cs | 2 +- Source/OpenTK/Platform/MacOS/MacOSFactory.cs | 7 +------ Source/OpenTK/Platform/Windows/WinFactory.cs | 5 ----- 3 files changed, 2 insertions(+), 12 deletions(-) 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);