浏览代码

Small fix in GetMouseY (#940)

pull/945/head
Wayde Reitsma 5 年前
committed by Ray
父节点
当前提交
2c2ccadd32
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c 查看文件

@ -2324,7 +2324,7 @@ int GetMouseX(void)
int GetMouseY(void)
{
#if defined(PLATFORM_ANDROID)
return (int)touchPosition[0].x;
return (int)touchPosition[0].y;
#else
return (int)((mousePosition.y + mouseOffset.y)*mouseScale.y);
#endif

正在加载...
取消
保存