summaryrefslogtreecommitdiff
path: root/src/input/mouseinput.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/mouseinput.h')
-rw-r--r--src/input/mouseinput.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input/mouseinput.h b/src/input/mouseinput.h
index e4efa93c9..a8a948cf3 100644
--- a/src/input/mouseinput.h
+++ b/src/input/mouseinput.h
@@ -173,13 +173,14 @@ class MouseInput final
int getTouchY() const A_WARN_UNUSED
{ return mRealY; }
-#else
+#else // ANDROID
+
int getTouchX() const A_WARN_UNUSED
{ return mX; }
int getTouchY() const A_WARN_UNUSED
{ return mY; }
-#endif
+#endif // ANDROID
protected:
/**