Review.
This commit is contained in:
parent
01cd6b9a7c
commit
12d126701d
|
|
@ -2689,7 +2689,7 @@ int GetTouchX(void)
|
||||||
{
|
{
|
||||||
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB) || defined(PLATFORM_UWP)
|
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB) || defined(PLATFORM_UWP)
|
||||||
return (int)CORE.Input.Touch.position[0].x;
|
return (int)CORE.Input.Touch.position[0].x;
|
||||||
#else // PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_UWP
|
#else // PLATFORM_DESKTOP, PLATFORM_RPI
|
||||||
return GetMouseX();
|
return GetMouseX();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
@ -2699,7 +2699,7 @@ int GetTouchY(void)
|
||||||
{
|
{
|
||||||
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB) || defined(PLATFORM_UWP)
|
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB) || defined(PLATFORM_UWP)
|
||||||
return (int)CORE.Input.Touch.position[0].y;
|
return (int)CORE.Input.Touch.position[0].y;
|
||||||
#else // PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_UWP
|
#else // PLATFORM_DESKTOP, PLATFORM_RPI
|
||||||
return GetMouseY();
|
return GetMouseY();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
*
|
*
|
||||||
* LICENSE: zlib/libpng
|
* LICENSE: zlib/libpng
|
||||||
*
|
*
|
||||||
* Copyright (c) 2014-2020 Ramon Santamaria (@raysan5)
|
* Copyright (c) 2020-2020 Reece Mackie (@Rover656)
|
||||||
*
|
*
|
||||||
* This software is provided "as-is", without any express or implied warranty. In no event
|
* This software is provided "as-is", without any express or implied warranty. In no event
|
||||||
* will the authors be held liable for any damages arising from the use of this software.
|
* will the authors be held liable for any damages arising from the use of this software.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user