diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index 3332d93c..d31f1d5a 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -436,24 +436,6 @@ namespace OpenTK #endif - - #region public void DestroyWindow() - - /// - /// Destroys the GameWindow. The Destroy event is raised before destruction commences - /// (while the opengl context still exists), to allow resource cleanup. - /// - 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() ///