aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/events/switchsdl/switchsdl-events.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/backends/events/switchsdl/switchsdl-events.cpp b/backends/events/switchsdl/switchsdl-events.cpp
index 9a42dc3e40..54f6784f4b 100644
--- a/backends/events/switchsdl/switchsdl-events.cpp
+++ b/backends/events/switchsdl/switchsdl-events.cpp
@@ -349,12 +349,6 @@ void SwitchEventSource::convertTouchXYToGameXY(float touchX, float touchY, int *
int screenH = _km.y_max;
int screenW = _km.x_max;
- int windowH = g_system->getHeight();
- int windowW = g_system->getWidth();
-
- bool fullscreen = ConfMan.getBool("fullscreen");
- bool aspectRatioCorrection = ConfMan.getBool("aspect_ratio");
-
const int dispW = TOUCHSCREEN_WIDTH;
const int dispH = TOUCHSCREEN_HEIGHT;