mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:35:36 +00:00
Workaround for modal loop blocking in ENTERMENULOOP event.
This commit is contained in:
parent
6dd6fedd08
commit
d76279565f
|
@ -143,6 +143,7 @@ namespace OpenTK.Platform.Windows
|
|||
case WindowMessage.ACTIVATE:
|
||||
break;
|
||||
|
||||
case WindowMessage.ENTERMENULOOP:
|
||||
case WindowMessage.ENTERSIZEMOVE:
|
||||
// Entering the modal size/move loop: we don't want rendering to
|
||||
// stop during this time, so we register a timer callback to continue
|
||||
|
@ -154,6 +155,7 @@ namespace OpenTK.Platform.Windows
|
|||
|
||||
break;
|
||||
|
||||
case WindowMessage.EXITMENULOOP:
|
||||
case WindowMessage.EXITSIZEMOVE:
|
||||
// ExitingmModal size/move loop: the timer callback is no longer
|
||||
// necessary.
|
||||
|
|
Loading…
Reference in a new issue