fix another OpenGL bug (when closing secondary window)

This commit is contained in:
Arisotura 2024-10-27 14:51:11 +01:00
parent f2dce621ce
commit 94955aee81
1 changed files with 2 additions and 1 deletions

View File

@ -559,7 +559,8 @@ void EmuThread::handleMessages()
case msg_DeInitGL: case msg_DeInitGL:
emuInstance->deinitOpenGL(msg.param.value<int>()); emuInstance->deinitOpenGL(msg.param.value<int>());
useOpenGL = false; if (msg.param.value<int>() == 0)
useOpenGL = false;
break; break;
case msg_BootROM: case msg_BootROM: