mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-26 23:12:51 +00:00
more fixes to SDL2 setting modes
This commit is contained in:
parent
3d311b9dd7
commit
26b53f0db7
@ -1170,7 +1170,10 @@ EX void apply_screen_settings() {
|
|||||||
if(vrhr::state) vrhr::shutdown_vr();
|
if(vrhr::state) vrhr::shutdown_vr();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !CAP_SDL2
|
||||||
SDL_QuitSubSystem(SDL_INIT_VIDEO);
|
SDL_QuitSubSystem(SDL_INIT_VIDEO);
|
||||||
|
#endif
|
||||||
|
|
||||||
graphics_on = false;
|
graphics_on = false;
|
||||||
android_settings_changed();
|
android_settings_changed();
|
||||||
init_graph();
|
init_graph();
|
||||||
|
@ -671,7 +671,7 @@ EX void resize_screen_to(int x, int y) {
|
|||||||
vid.window_y = y;
|
vid.window_y = y;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
setvideomode();
|
apply_screen_settings();
|
||||||
}
|
}
|
||||||
|
|
||||||
int lastframe;
|
int lastframe;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user