Bläddra i källkod

Small fix in GetMouseY (#940)

pull/945/head
Wayde Reitsma 6 år sedan
committed by Ray
förälder
incheckning
2c2ccadd32
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c Visa fil

@ -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

Laddar…
Avbryt
Spara