mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-17 15:17:37 +00:00
switchGL() makes sure that a mode is set
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user