mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 16:55:28 +00:00
Removed obsolete code.
This commit is contained in:
parent
74c45c479e
commit
623015650b
|
@ -36,7 +36,7 @@ namespace OpenTK.Platform.MacOS
|
|||
using Carbon;
|
||||
using Graphics;
|
||||
|
||||
class CarbonGLNative : INativeGLWindow, INativeWindow
|
||||
class CarbonGLNative : INativeWindow
|
||||
{
|
||||
#region Fields
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue