Selaa lähdekoodia

Small fix in GetMouseY (#940)

pull/945/head
Wayde Reitsma 5 vuotta sitten
committed by Ray
vanhempi
commit
2c2ccadd32
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/core.c

+ 1
- 1
src/core.c Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna