Removed obsolete code.

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

View file

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

View file

@ -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);

View file

@ -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);