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
|
namespace OpenTK.Platform
|
||||||
{
|
{
|
||||||
public interface IGLControl : IDisposable
|
public interface IGLControl
|
||||||
{
|
{
|
||||||
bool IsIdle { get; }
|
bool IsIdle { get; }
|
||||||
bool Fullscreen { get; set; }
|
bool Fullscreen { get; set; }
|
||||||
|
|
|
@ -13,7 +13,7 @@ namespace OpenTK.Platform
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This interface supports OpenTK, and is not intended for use by OpenTK programs.
|
/// This interface supports OpenTK, and is not intended for use by OpenTK programs.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
interface INativeGLWindow : IGLControl, IResizable
|
interface INativeGLWindow : IGLControl, IResizable, IDisposable
|
||||||
{
|
{
|
||||||
void CreateWindow(DisplayMode mode);
|
void CreateWindow(DisplayMode mode);
|
||||||
void DestroyWindow();
|
void DestroyWindow();
|
||||||
|
|
Loading…
Reference in a new issue