From 2c2ccadd32df75af312a32f2d07ca1d29e83f42b Mon Sep 17 00:00:00 2001 From: Wayde Reitsma Date: Sun, 11 Aug 2019 19:17:20 +1000 Subject: [PATCH] Small fix in GetMouseY (#940) --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index 1dad59d99..930bd2597 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