summaryrefslogtreecommitdiff
path: root/platform/android/display_server_android.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-12-07 13:24:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-12-07 13:24:06 +0100
commiteb1734c95d56c2017f5a215c56d56abefcedb4d9 (patch)
tree33a8b3e6e3cdb471e786418b6d9a68d3732e57da /platform/android/display_server_android.cpp
parent04cd36612ae017a4daf9670a89eb2fafb54e2a8b (diff)
parente18107a57ccaf3d93a8893fe36f6d9010e2cdef1 (diff)
Merge pull request #67554 from Sauermann/fix-determining-window-in-scroll-container
Remove Screen-parameter for determining Touchscreen capability
Diffstat (limited to 'platform/android/display_server_android.cpp')
-rw-r--r--platform/android/display_server_android.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/display_server_android.cpp b/platform/android/display_server_android.cpp
index 937b929d62..1e2f35381b 100644
--- a/platform/android/display_server_android.cpp
+++ b/platform/android/display_server_android.cpp
@@ -221,7 +221,7 @@ float DisplayServerAndroid::screen_get_refresh_rate(int p_screen) const {
return godot_io_java->get_screen_refresh_rate(SCREEN_REFRESH_RATE_FALLBACK);
}
-bool DisplayServerAndroid::screen_is_touchscreen(int p_screen) const {
+bool DisplayServerAndroid::is_touchscreen_available() const {
return true;
}