all repos — mgba @ 1ff9968a906dd51077f6eabea1fcdfdcd8d596ec

mGBA Game Boy Advance Emulator

Qt: Draw frame even if it times out
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Feb 2015 22:14:26 -0800
commit

1ff9968a906dd51077f6eabea1fcdfdcd8d596ec

parent

afbadf242be6b45586663c08ec974f48f3391874

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

jump to
M src/platform/qt/Display.cppsrc/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();