From 455e34edcfbb64fb3021a6219ded317a8af907b7 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 18 Dec 2022 21:48:08 -0800 Subject: [PATCH] Qt: glFlush is (thankfully) sufficient here --- src/platform/qt/DisplayGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/qt/DisplayGL.cpp b/src/platform/qt/DisplayGL.cpp index 86e115517..4b0fcdce3 100644 --- a/src/platform/qt/DisplayGL.cpp +++ b/src/platform/qt/DisplayGL.cpp @@ -959,7 +959,7 @@ QOpenGLContext* PainterGL::shareContext() { void PainterGL::updateFramebufferHandle() { QOpenGLFunctions_Baseline* fn = m_gl->versionFunctions(); - fn->glFinish(); + fn->glFlush(); CoreController::Interrupter interrupter(m_context); if (!m_context->hardwareAccelerated()) {