Workaround for modal loop blocking in ENTERMENULOOP event.

This commit is contained in:
the_fiddler 2009-10-12 13:15:12 +00:00
parent 6dd6fedd08
commit d76279565f

View file

@ -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.