all repos — mgba @ 0d6cc88f9fc1169dd9549647af8eb6b013813162

mGBA Game Boy Advance Emulator

Qt: Remove unneeded second draws
Jeffrey Pfau jeffrey@endrift.com
Tue, 31 Mar 2015 23:37:14 -0700
commit

0d6cc88f9fc1169dd9549647af8eb6b013813162

parent

4fb121bbe0e78bb664f19c463518c0513ee4d196

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

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

@@ -153,14 +153,12 @@ m_size = size;

QWidget::resize(size); if (m_drawTimer) { forceDraw(); - forceDraw(); } } void Painter::lockAspectRatio(bool lock) { m_lockAspectRatio = lock; if (m_drawTimer) { - forceDraw(); forceDraw(); } }

@@ -175,7 +173,6 @@ glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);

} doneCurrent(); if (m_drawTimer) { - forceDraw(); forceDraw(); } }