mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-12 21:16:26 +00:00
Fixed a GameWindow exit bug, where the GameWindow didn't send the destroy message on GameWindow.Exit().
This commit is contained in:
parent
99fafa1049
commit
935db198ea
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue