mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 19:10:36 +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
165f36f6c0
commit
42c205db00
|
@ -111,7 +111,8 @@ namespace OpenTK.Platform.Windows
|
||||||
case WindowMessage.CLOSE:
|
case WindowMessage.CLOSE:
|
||||||
//this.DestroyWindow();
|
//this.DestroyWindow();
|
||||||
this.OnDestroy(EventArgs.Empty);
|
this.OnDestroy(EventArgs.Empty);
|
||||||
return;
|
//return;
|
||||||
|
break;
|
||||||
|
|
||||||
case WindowMessage.DESTROY:
|
case WindowMessage.DESTROY:
|
||||||
//this.OnDestroy(EventArgs.Empty);
|
//this.OnDestroy(EventArgs.Empty);
|
||||||
|
|
Loading…
Reference in a new issue