From b30f1069a0ff8510f3cb545371de29e427185395 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 2 Sep 2007 00:17:59 +0000 Subject: [PATCH] Removed IDisposable from IGLControl Added IDisposable to INativeGLWindow --- Source/OpenTK/Platform/IGLControl.cs | 2 +- Source/OpenTK/Platform/INativeGLWindow.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/OpenTK/Platform/IGLControl.cs b/Source/OpenTK/Platform/IGLControl.cs index 5f2bf974..d5461e7c 100644 --- a/Source/OpenTK/Platform/IGLControl.cs +++ b/Source/OpenTK/Platform/IGLControl.cs @@ -12,7 +12,7 @@ using OpenTK.OpenGL; namespace OpenTK.Platform { - public interface IGLControl : IDisposable + public interface IGLControl { bool IsIdle { get; } bool Fullscreen { get; set; } diff --git a/Source/OpenTK/Platform/INativeGLWindow.cs b/Source/OpenTK/Platform/INativeGLWindow.cs index aa08ad84..f4e4f72b 100644 --- a/Source/OpenTK/Platform/INativeGLWindow.cs +++ b/Source/OpenTK/Platform/INativeGLWindow.cs @@ -13,7 +13,7 @@ namespace OpenTK.Platform /// /// This interface supports OpenTK, and is not intended for use by OpenTK programs. /// - interface INativeGLWindow : IGLControl, IResizable + interface INativeGLWindow : IGLControl, IResizable, IDisposable { void CreateWindow(DisplayMode mode); void DestroyWindow();