mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 11:55:31 +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
|
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