summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-03-24 13:26:34 +0100
committerraysan5 <[email protected]>2020-03-24 13:26:34 +0100
commit51a8e1d6922ed61e577b934dc1c39933a8946ea4 (patch)
treec1b5d223c51fab46ccfd898374bb1caee5ed15e2 /src/core.c
parentda836a732c0ecbf1ec9254d0007dec854e79f1f3 (diff)
downloadraylib-51a8e1d6922ed61e577b934dc1c39933a8946ea4.tar.gz
raylib-51a8e1d6922ed61e577b934dc1c39933a8946ea4.zip
Remove define not required
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c
index 44b7125d..73e1ef14 100644
--- a/src/core.c
+++ b/src/core.c
@@ -2664,6 +2664,7 @@ Vector2 GetTouchPosition(int index)
position.y = position.y*((float)CORE.Window.render.height/(float)CORE.Window.display.height) - CORE.Window.renderOffset.y/2;
}
#endif
+
#elif defined(PLATFORM_DESKTOP)
// TODO: GLFW is not supporting multi-touch input just yet
// https://www.codeproject.com/Articles/668404/Programming-for-Multi-Touch
@@ -3738,10 +3739,8 @@ static void PollInputEvents(void)
CORE.Input.Mouse.currentWheelMove = 0;
#endif
-#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB) || defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI)
// Register previous touch states
for (int i = 0; i < MAX_TOUCH_POINTS; i++) CORE.Input.Touch.previousTouchState[i] = CORE.Input.Touch.currentTouchState[i];
-#endif
#if defined(PLATFORM_DESKTOP)
// Check if gamepads are ready