mirror of https://github.com/mgba-emu/mgba.git
Qt: Remove potentially deadlocking optimization
This commit is contained in:
parent
c44ce3061a
commit
72ceb60697
|
@ -459,11 +459,6 @@ void PainterGL::draw() {
|
|||
performDraw();
|
||||
m_backend->swap(m_backend);
|
||||
}
|
||||
|
||||
QMutexLocker locker(&m_mutex);
|
||||
if (!m_queue.isEmpty()) {
|
||||
QTimer::singleShot(1, this, &PainterGL::draw);
|
||||
}
|
||||
}
|
||||
|
||||
void PainterGL::forceDraw() {
|
||||
|
|
Loading…
Reference in New Issue