From d76279565f503e0312a282e1ec7136d4cc7e37cd Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 12 Oct 2009 13:15:12 +0000 Subject: [PATCH] Workaround for modal loop blocking in ENTERMENULOOP event. --- Source/OpenTK/Platform/Windows/WinGLNative.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/OpenTK/Platform/Windows/WinGLNative.cs b/Source/OpenTK/Platform/Windows/WinGLNative.cs index 684b56d2..3a68d567 100644 --- a/Source/OpenTK/Platform/Windows/WinGLNative.cs +++ b/Source/OpenTK/Platform/Windows/WinGLNative.cs @@ -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.