Fixed a GameWindow exit bug, where the GameWindow didn't send the destroy message on GameWindow.Exit().

This commit is contained in:
the_fiddler 2008-01-14 23:43:56 +00:00
parent 99fafa1049
commit 935db198ea

View file

@ -111,7 +111,8 @@ namespace OpenTK.Platform.Windows
case WindowMessage.CLOSE:
//this.DestroyWindow();
this.OnDestroy(EventArgs.Empty);
return;
//return;
break;
case WindowMessage.DESTROY:
//this.OnDestroy(EventArgs.Empty);