Removed IDisposable from IGLControl
Added IDisposable to INativeGLWindow
This commit is contained in:
parent
b89d2231d4
commit
9ac9af08ac
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ using OpenTK.OpenGL;
|
|||
|
||||
namespace OpenTK.Platform
|
||||
{
|
||||
public interface IGLControl : IDisposable
|
||||
public interface IGLControl
|
||||
{
|
||||
bool IsIdle { get; }
|
||||
bool Fullscreen { get; set; }
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace OpenTK.Platform
|
|||
/// <summary>
|
||||
/// This interface supports OpenTK, and is not intended for use by OpenTK programs.
|
||||
/// </summary>
|
||||
interface INativeGLWindow : IGLControl, IResizable
|
||||
interface INativeGLWindow : IGLControl, IResizable, IDisposable
|
||||
{
|
||||
void CreateWindow(DisplayMode mode);
|
||||
void DestroyWindow();
|
||||
|
|
Loading…
Reference in a new issue