mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-08 23:52:46 +00:00
Small fix in GetMouseY (#940)
This commit is contained in:
@@ -2324,7 +2324,7 @@ int GetMouseX(void)
|
|||||||
int GetMouseY(void)
|
int GetMouseY(void)
|
||||||
{
|
{
|
||||||
#if defined(PLATFORM_ANDROID)
|
#if defined(PLATFORM_ANDROID)
|
||||||
return (int)touchPosition[0].x;
|
return (int)touchPosition[0].y;
|
||||||
#else
|
#else
|
||||||
return (int)((mousePosition.y + mouseOffset.y)*mouseScale.y);
|
return (int)((mousePosition.y + mouseOffset.y)*mouseScale.y);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user