瀏覽代碼

Remove const

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

+ 1
- 1
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;

Loading…
取消
儲存