summaryrefslogtreecommitdiff
path: root/test/testgamecontroller.c
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2020-11-06 14:44:26 -0800
committerSam Lantinga <slouken@libsdl.org>2020-11-06 14:44:26 -0800
commit3112b91eb8918976aefe4c6347296c3cdd730156 (patch)
treef6ab93464f3578ddb231b04b7cc3f7b20caa591a /test/testgamecontroller.c
parentd44819b8ee993aad778cdc3b46fe3b6ed68fd8b3 (diff)
downloadsdl-3112b91eb8918976aefe4c6347296c3cdd730156.tar.gz
iOS should use the same size window for the controller tests as other platforms
Otherwise the position of the button and axis elements won't be correct
Diffstat (limited to 'test/testgamecontroller.c')
-rw-r--r--test/testgamecontroller.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/testgamecontroller.c b/test/testgamecontroller.c
index 7b3a88071..391067587 100644
--- a/test/testgamecontroller.c
+++ b/test/testgamecontroller.c
@@ -24,13 +24,8 @@
#ifndef SDL_JOYSTICK_DISABLED
-#ifdef __IPHONEOS__
-#define SCREEN_WIDTH 480
-#define SCREEN_HEIGHT 320
-#else
#define SCREEN_WIDTH 512
#define SCREEN_HEIGHT 320
-#endif
/* This is indexed by SDL_GameControllerButton. */
static const struct { int x; int y; } button_positions[] = {