OpenGL: Fix fast-forward on some OpenGL drivers where it may block early
Jeffrey Pfau jeffrey@endrift.com
Mon, 16 Nov 2015 19:56:43 -0800
4 files changed,
4 insertions(+),
3 deletions(-)
M
CHANGES
→
CHANGES
@@ -16,6 +16,7 @@ - GBA: Initialize uninitialized pristineRom and pristineRomSize members
- GBA Memory: Fix unaligned out-of-bounds ROM loads - Qt: Add additional checks in CheatModel to prevent crashes - GBA Hardware: Fix Game Boy Player rumble in Pokemon Pinball + - OpenGL: Fix fast-forward on some OpenGL drivers where it may block early Misc: - GBA Audio: Implement missing flags on SOUNDCNT_X register
M
src/platform/qt/DisplayGL.cpp
→
src/platform/qt/DisplayGL.cpp
@@ -210,10 +210,10 @@ return;
} if (GBASyncWaitFrameStart(&m_context->sync, m_context->frameskip) || !m_queue.isEmpty()) { dequeue(); + GBASyncWaitFrameEnd(&m_context->sync); m_painter.begin(m_gl->context()->device()); performDraw(); m_painter.end(); - GBASyncWaitFrameEnd(&m_context->sync); m_backend.d.swap(&m_backend.d); } else { GBASyncWaitFrameEnd(&m_context->sync);
M
src/platform/sdl/gl-sdl.c
→
src/platform/sdl/gl-sdl.c
@@ -64,8 +64,8 @@
if (GBASyncWaitFrameStart(&context->sync, context->frameskip)) { v->postFrame(v, renderer->d.outputBuffer); } - v->drawFrame(v); GBASyncWaitFrameEnd(&context->sync); + v->drawFrame(v); v->swap(v); } }
M
src/platform/sdl/gles2-sdl.c
→
src/platform/sdl/gles2-sdl.c
@@ -117,8 +117,8 @@
if (GBASyncWaitFrameStart(&context->sync, context->frameskip)) { v->postFrame(v, renderer->d.outputBuffer); } - v->drawFrame(v); GBASyncWaitFrameEnd(&context->sync); + v->drawFrame(v); #ifdef BUILD_RASPI eglSwapBuffers(renderer->display, renderer->surface); #else