mirror of https://github.com/mgba-emu/mgba.git
Qt: Remove unneeded second draws
This commit is contained in:
parent
4fb121bbe0
commit
0d6cc88f9f
|
@ -153,7 +153,6 @@ void Painter::resize(const QSize& size) {
|
||||||
QWidget::resize(size);
|
QWidget::resize(size);
|
||||||
if (m_drawTimer) {
|
if (m_drawTimer) {
|
||||||
forceDraw();
|
forceDraw();
|
||||||
forceDraw();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,7 +160,6 @@ void Painter::lockAspectRatio(bool lock) {
|
||||||
m_lockAspectRatio = lock;
|
m_lockAspectRatio = lock;
|
||||||
if (m_drawTimer) {
|
if (m_drawTimer) {
|
||||||
forceDraw();
|
forceDraw();
|
||||||
forceDraw();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,7 +174,6 @@ void Painter::filter(bool filter) {
|
||||||
doneCurrent();
|
doneCurrent();
|
||||||
if (m_drawTimer) {
|
if (m_drawTimer) {
|
||||||
forceDraw();
|
forceDraw();
|
||||||
forceDraw();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue