Qt: Draw frame even if it times out
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Feb 2015 22:14:26 -0800
1 files changed,
2 insertions(+),
3 deletions(-)
jump to
M
src/platform/qt/Display.cpp
→
src/platform/qt/Display.cpp
@@ -214,9 +214,8 @@ }
void Painter::draw() { m_gl->makeCurrent(); - if (GBASyncWaitFrameStart(&m_context->sync, m_context->frameskip)) { - performDraw(); - } + GBASyncWaitFrameStart(&m_context->sync, m_context->frameskip); + performDraw(); GBASyncWaitFrameEnd(&m_context->sync); m_gl->swapBuffers(); m_gl->doneCurrent();