Qt: glFlush is (thankfully) sufficient here

This commit is contained in:
Vicki Pfau 2022-12-18 21:48:08 -08:00
parent 90893dff60
commit 455e34edcf
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {