From 51e2b3915cb63f41e7bcfd4f8bb1615304ac25fc Mon Sep 17 00:00:00 2001 From: Tzach Shabtay Date: Sun, 11 Dec 2016 18:11:56 -0500 Subject: [PATCH] Removed redundant printout for "OnMouseMove called without moving the mouse" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes #416. The problem with this printout (as explained in the issue) is that on Windows (at least for specific devices/OS) GetMouseMovePointsEx can return duplicate points, so it’s either adding a check in the Windows layer or remove the printout. Adding a check in the Windows layer looks redundant though, as this is already checked in NativeWindowBase, so removing the printout looks preferable. --- src/OpenTK/Platform/NativeWindowBase.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/OpenTK/Platform/NativeWindowBase.cs b/src/OpenTK/Platform/NativeWindowBase.cs index 8e1a7ef..16579e5 100644 --- a/src/OpenTK/Platform/NativeWindowBase.cs +++ b/src/OpenTK/Platform/NativeWindowBase.cs @@ -269,7 +269,6 @@ namespace OpenTK.Platform if (e.XDelta == 0 && e.YDelta == 0) { - Debug.WriteLine("OnMouseMove called without moving the mouse"); return; } -- 2.7.4