mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 07:35:27 +00:00
Removed IDisposable from IGLControl
Added IDisposable to INativeGLWindow
This commit is contained in:
parent
b89d2231d4
commit
9ac9af08ac
|
@ -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