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
1 changed files with 3 additions and 0 deletions

View File

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