diff --git a/src/platforms/rcore_desktop_glfw.c b/src/platforms/rcore_desktop_glfw.c index 061c525b..0a8e49a6 100644 --- a/src/platforms/rcore_desktop_glfw.c +++ b/src/platforms/rcore_desktop_glfw.c @@ -1656,7 +1656,7 @@ int InitPlatform(void) } // Initialize mouse positions: - const double xpos, ypos; + double xpos, ypos; glfwGetCursorPos(platform.handle, &xpos, &ypos); CORE.Input.Mouse.previousPosition.x = (float)xpos; CORE.Input.Mouse.previousPosition.y = (float)ypos;