mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 16: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:
|
case WindowMessage.ACTIVATE:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case WindowMessage.ENTERMENULOOP:
|
||||||
case WindowMessage.ENTERSIZEMOVE:
|
case WindowMessage.ENTERSIZEMOVE:
|
||||||
// Entering the modal size/move loop: we don't want rendering to
|
// Entering the modal size/move loop: we don't want rendering to
|
||||||
// stop during this time, so we register a timer callback to continue
|
// stop during this time, so we register a timer callback to continue
|
||||||
|
@ -154,6 +155,7 @@ namespace OpenTK.Platform.Windows
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case WindowMessage.EXITMENULOOP:
|
||||||
case WindowMessage.EXITSIZEMOVE:
|
case WindowMessage.EXITSIZEMOVE:
|
||||||
// ExitingmModal size/move loop: the timer callback is no longer
|
// ExitingmModal size/move loop: the timer callback is no longer
|
||||||
// necessary.
|
// necessary.
|
||||||
|
|
Loading…
Reference in a new issue