1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixup to get_requested_resolution on mobile

This commit is contained in:
Zeno Rogue 2021-06-01 13:04:19 +02:00
parent e7a1ce6a1a
commit 31666007f3

View File

@ -1153,6 +1153,9 @@ EX void apply_screen_settings() {
}
EX pair<int, int> 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)