From 295e2b9f822d412dcf63655e2abf629d587d7b01 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 21 Apr 2018 12:02:33 +0200 Subject: [PATCH] switchGL() makes sure that a mode is set --- config.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.cpp b/config.cpp index fdca62fc..2f3e95d1 100644 --- a/config.cpp +++ b/config.cpp @@ -750,6 +750,9 @@ void switchGL() { ANDROID_SETTINGS; #if CAP_SDL setvideomode(); + if(vid.usingGL) { + glhr::be_textured(); glhr::be_nontextured(); + } #endif }