Small fix in GetMouseY (#940)
This commit is contained in:
parent
6f2f09947f
commit
2c2ccadd32
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue