mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
fix another OpenGL bug (when closing secondary window)
This commit is contained in:
@ -559,6 +559,7 @@ void EmuThread::handleMessages()
|
|||||||
|
|
||||||
case msg_DeInitGL:
|
case msg_DeInitGL:
|
||||||
emuInstance->deinitOpenGL(msg.param.value<int>());
|
emuInstance->deinitOpenGL(msg.param.value<int>());
|
||||||
|
if (msg.param.value<int>() == 0)
|
||||||
useOpenGL = false;
|
useOpenGL = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user