瀏覽代碼

Revert changes

pull/4665/head
asdqwe 1 周之前
父節點
當前提交
f93f7d17c2
共有 1 個檔案被更改,包括 0 行新增8 行删除
  1. +0
    -8
      src/platforms/rcore_desktop_glfw.c

+ 0
- 8
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

Loading…
取消
儲存