From 1ff9968a906dd51077f6eabea1fcdfdcd8d596ec Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 22 Feb 2015 22:14:26 -0800 Subject: [PATCH] Qt: Draw frame even if it times out --- src/platform/qt/Display.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/platform/qt/Display.cpp b/src/platform/qt/Display.cpp index 0ff658e7c..4c4745b16 100644 --- a/src/platform/qt/Display.cpp +++ b/src/platform/qt/Display.cpp @@ -214,9 +214,8 @@ void Painter::start() { 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();