From f93f7d17c28e28d1a9732327b2e88ef222bdb741 Mon Sep 17 00:00:00 2001 From: asdqwe Date: Wed, 8 Jan 2025 18:50:18 -0300 Subject: [PATCH] Revert changes --- src/platforms/rcore_desktop_glfw.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/platforms/rcore_desktop_glfw.c b/src/platforms/rcore_desktop_glfw.c index 0a8e49a6..dba821dd 100644 --- a/src/platforms/rcore_desktop_glfw.c +++ b/src/platforms/rcore_desktop_glfw.c @@ -1654,14 +1654,6 @@ int InitPlatform(void) { if (glfwJoystickPresent(i)) strcpy(CORE.Input.Gamepad.name[i], glfwGetJoystickName(i)); } - - // Initialize mouse positions: - double xpos, ypos; - glfwGetCursorPos(platform.handle, &xpos, &ypos); - CORE.Input.Mouse.previousPosition.x = (float)xpos; - CORE.Input.Mouse.previousPosition.y = (float)ypos; - CORE.Input.Mouse.currentPosition.x = (float)xpos; - CORE.Input.Mouse.currentPosition.y = (float)ypos; //---------------------------------------------------------------------------- // Initialize timming system