mirror of https://github.com/mgba-emu/mgba.git
Qt: Draw frame even if it times out
This commit is contained in:
parent
afbadf242b
commit
1ff9968a90
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue