Small fix in GetMouseY
This commit is contained in:
parent
6f2f09947f
commit
af63473724
|
|
@ -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…
Reference in New Issue
Block a user