1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-13 15:56:00 +00:00

more fixes to SDL2 setting modes

This commit is contained in:
Zeno Rogue
2021-03-09 16:04:02 +01:00
parent 3d311b9dd7
commit 26b53f0db7
2 changed files with 5 additions and 2 deletions

View File

@@ -1169,8 +1169,11 @@ EX void apply_screen_settings() {
#if CAP_VR
if(vrhr::state) vrhr::shutdown_vr();
#endif
#if !CAP_SDL2
SDL_QuitSubSystem(SDL_INIT_VIDEO);
#endif
graphics_on = false;
android_settings_changed();
init_graph();