Removed IDisposable from IGLControl
Added IDisposable to INativeGLWindow
This commit is contained in:
parent
5144535b8e
commit
b30f1069a0
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