diff --git a/jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwMouseInput.java b/jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwMouseInput.java index 9f6e9edbd..f198234a6 100644 --- a/jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwMouseInput.java +++ b/jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwMouseInput.java @@ -148,14 +148,6 @@ public class GlfwMouseInput implements MouseInput { int x = (int) Math.round(xpos); int y = currentHeight - (int) Math.round(ypos); - if (mouseX == 0) { - mouseX = x; - } - - if (mouseY == 0) { - mouseY = y; - } - xDelta = x - mouseX; yDelta = y - mouseY; mouseX = x;