diff --git a/src/frontend/qt_sdl/EmuThread.cpp b/src/frontend/qt_sdl/EmuThread.cpp index 583ed91c..3371a03b 100644 --- a/src/frontend/qt_sdl/EmuThread.cpp +++ b/src/frontend/qt_sdl/EmuThread.cpp @@ -559,7 +559,8 @@ void EmuThread::handleMessages() case msg_DeInitGL: emuInstance->deinitOpenGL(msg.param.value()); - useOpenGL = false; + if (msg.param.value() == 0) + useOpenGL = false; break; case msg_BootROM: