Преглед изворни кода

Small fix in GetMouseY (#940)

pull/945/head
Wayde Reitsma пре 6 година
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

Loading…
Откажи
Сачувај