Removed obsolete code.

This commit is contained in:
the_fiddler 2009-06-24 14:38:48 +00:00
parent 3f9470e562
commit daed9943a8
3 changed files with 2 additions and 12 deletions

View file

@ -36,7 +36,7 @@ namespace OpenTK.Platform.MacOS
using Carbon; using Carbon;
using Graphics; using Graphics;
class CarbonGLNative : INativeGLWindow, INativeWindow class CarbonGLNative : INativeWindow
{ {
#region Fields #region Fields

View file

@ -33,15 +33,10 @@ namespace OpenTK.Platform.MacOS
{ {
using Graphics; using Graphics;
class MacOSFactory : IPlatformFactory class MacOSFactory : IPlatformFactory
{ {
#region IPlatformFactory Members #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) 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); return new CarbonGLNative(x, y, width, height, title, mode, options, device);

View file

@ -38,11 +38,6 @@ using OpenTK.Input;
{ {
#region IPlatformFactory Members #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) 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); return new WinGLNative(x, y, width, height, title, options, device);