mirror of https://github.com/mgba-emu/mgba.git
Qt: glFlush is (thankfully) sufficient here
This commit is contained in:
parent
90893dff60
commit
455e34edcf
|
@ -959,7 +959,7 @@ QOpenGLContext* PainterGL::shareContext() {
|
||||||
|
|
||||||
void PainterGL::updateFramebufferHandle() {
|
void PainterGL::updateFramebufferHandle() {
|
||||||
QOpenGLFunctions_Baseline* fn = m_gl->versionFunctions<QOpenGLFunctions_Baseline>();
|
QOpenGLFunctions_Baseline* fn = m_gl->versionFunctions<QOpenGLFunctions_Baseline>();
|
||||||
fn->glFinish();
|
fn->glFlush();
|
||||||
|
|
||||||
CoreController::Interrupter interrupter(m_context);
|
CoreController::Interrupter interrupter(m_context);
|
||||||
if (!m_context->hardwareAccelerated()) {
|
if (!m_context->hardwareAccelerated()) {
|
||||||
|
|
Loading…
Reference in New Issue