From 31666007f37c45f2d2c3f14978c9ba7de7275575 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 1 Jun 2021 13:04:19 +0200 Subject: [PATCH] fixup to get_requested_resolution on mobile --- basegraph.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/basegraph.cpp b/basegraph.cpp index 126ade1b..fbf58428 100644 --- a/basegraph.cpp +++ b/basegraph.cpp @@ -1153,6 +1153,9 @@ EX void apply_screen_settings() { } EX pair get_requested_resolution() { + #if ISMOBILE || ISFAKEMOBILE + return { vid.xres, vid.yres }; + #endif if(vid.want_fullscreen && vid.change_fullscr) return { vid.fullscreen_x, vid.fullscreen_y }; else if(vid.want_fullscreen)