1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-12 02:10:34 +00:00

switchGL() makes sure that a mode is set

This commit is contained in:
Zeno Rogue 2018-04-21 12:02:33 +02:00
parent 2fdc5576d5
commit 295e2b9f82

View File

@ -750,6 +750,9 @@ void switchGL() {
ANDROID_SETTINGS; ANDROID_SETTINGS;
#if CAP_SDL #if CAP_SDL
setvideomode(); setvideomode();
if(vid.usingGL) {
glhr::be_textured(); glhr::be_nontextured();
}
#endif #endif
} }