Removed unused DestroyWindow function.

This commit is contained in:
the_fiddler 2008-05-04 18:54:51 +00:00
parent 7dfac94aa7
commit 2813f262a2

View file

@ -436,24 +436,6 @@ namespace OpenTK
#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()
/// <summary>