all repos — mgba @ 9bbdd2ba350aac319ca9b24eba042ce81070df9f

mGBA Game Boy Advance Emulator

Qt: Fix drawing on macOS break when using OpenGL (fixes #1899)
Vicki Pfau vi@endrift.com
Sun, 04 Oct 2020 18:10:47 -0700
commit

9bbdd2ba350aac319ca9b24eba042ce81070df9f

parent

b3d97a4389840e539751b5b494ad0edb1dd7b793

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

jump to
M CHANGESCHANGES

@@ -69,6 +69,7 @@ - Qt: Fix a race condition in the frame inspector

- Qt: Add dummy English translation file (fixes mgba.io/i/1469) - Qt: Fix Battle Chip view not displaying chips on some DPI settings - Qt: Fix camera image being upside-down sometimes (fixes mgba.io/i/829 again) + - Qt: Fix drawing on macOS break when using OpenGL (fixes mgba.io/i/1899) - mGUI: Fix closing down a game if an exit is signalled - mVL: Fix injecting accidentally draining non-injection buffer - SM83: Simplify register pair access on big endian
M src/platform/qt/DisplayGL.cppsrc/platform/qt/DisplayGL.cpp

@@ -145,7 +145,9 @@ if (m_drawThread) {

m_isDrawing = false; CoreController::Interrupter interrupter(m_context); QMetaObject::invokeMethod(m_painter, "pause", Qt::BlockingQueuedConnection); +#ifndef Q_OS_MAC setUpdatesEnabled(true); +#endif } }

@@ -154,7 +156,9 @@ if (m_drawThread) {

m_isDrawing = true; CoreController::Interrupter interrupter(m_context); QMetaObject::invokeMethod(m_painter, "unpause", Qt::BlockingQueuedConnection); +#ifndef Q_OS_MAC setUpdatesEnabled(false); +#endif } }