mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-26 18:01:06 +00:00
Removed unused DestroyWindow function.
This commit is contained in:
parent
201f671cd9
commit
044299d667
|
@ -436,24 +436,6 @@ namespace OpenTK
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#region public void DestroyWindow()
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Destroys the GameWindow. The Destroy event is raised before destruction commences
|
|
||||||
/// (while the opengl context still exists), to allow resource cleanup.
|
|
||||||
/// </summary>
|
|
||||||
public void DestroyWindow()
|
|
||||||
{
|
|
||||||
if (disposed) throw new ObjectDisposedException("GameWindow");
|
|
||||||
if (Exists)
|
|
||||||
glWindow.DestroyWindow();
|
|
||||||
else
|
|
||||||
throw new ApplicationException("Tried to destroy non-existent window.");
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region void Run()
|
#region void Run()
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue