Explorar o código

Small fix in GetMouseY (#940)

Wayde Reitsma %!s(int64=6) %!d(string=hai) anos
pai
achega
2c2ccadd32
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core.c

+ 1 - 1
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