all repos — mgba @ e90b8d235467679229ab16032c64bf8508bb5440

mGBA Game Boy Advance Emulator

Qt: Fix crash when GL context is missing
Vicki Pfau vi@endrift.com
Tue, 21 May 2019 07:14:03 -0700
commit

e90b8d235467679229ab16032c64bf8508bb5440

parent

35200b6c7ae59841b429dbd196d7a2f9661df88f

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -634,6 +634,8 @@ saveConfig();

if (m_controller) { event->ignore(); m_pendingClose = true; + } else { + m_display.reset(); } }