Qt: Remove unneeded second draws
Jeffrey Pfau jeffrey@endrift.com
Tue, 31 Mar 2015 23:37:14 -0700
1 files changed,
0 insertions(+),
3 deletions(-)
jump to
M
src/platform/qt/DisplayGL.cpp
→
src/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(); } }