aboutsummaryrefslogtreecommitdiffstats
path: root/android/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'android/main.c')
-rw-r--r--android/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/android/main.c b/android/main.c
index cd4162a..e90beaa 100644
--- a/android/main.c
+++ b/android/main.c
@@ -58,7 +58,6 @@
#include "android/utils/dirscanner.h"
#include "android/utils/path.h"
#include "android/utils/timezone.h"
-#include "android/utils/display.h"
#include "android/cmdline-option.h"
#include "android/help.h"
@@ -426,7 +425,7 @@ get_default_scale( AndroidOptions* opts )
/* we need to get the host dpi resolution ? */
int xdpi, ydpi;
- if ( get_monitor_resolution( &xdpi, &ydpi ) < 0 ) {
+ if ( SDL_WM_GetMonitorDPI( &xdpi, &ydpi ) < 0 ) {
fprintf(stderr, "could not get monitor DPI resolution from system. please use -dpi-monitor to specify one\n" );
exit(1);
}