aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWayde Reitsma <pootisspencerherenao@gmail.com>2019-08-11 19:17:20 +1000
committerRay <raysan5@gmail.com>2019-08-11 11:17:20 +0200
commit2c2ccadd32df75af312a32f2d07ca1d29e83f42b (patch)
tree937b8f04bde7db0cb9fd0feb8698a52f0f931014 /src
parent6f2f09947f5456cefb3d91d3f667f4d72fa55be6 (diff)
downloadraylib-2c2ccadd32df75af312a32f2d07ca1d29e83f42b.tar.gz
raylib-2c2ccadd32df75af312a32f2d07ca1d29e83f42b.zip
Small fix in GetMouseY (#940)
Diffstat (limited to 'src')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index 1dad59d9..930bd259 100644
--- a/src/core.c
+++ b/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