aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/rendercontrol/window_multithreaded.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/rendercontrol/window_multithreaded.cpp')
-rw-r--r--examples/quick/rendercontrol/window_multithreaded.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/rendercontrol/window_multithreaded.cpp b/examples/quick/rendercontrol/window_multithreaded.cpp
index b59b0f59da..ad261848bf 100644
--- a/examples/quick/rendercontrol/window_multithreaded.cpp
+++ b/examples/quick/rendercontrol/window_multithreaded.cpp
@@ -188,6 +188,7 @@ void QuickRenderer::render(QMutexLocker *lock)
// Meanwhile on this thread continue with the actual rendering (into the FBO first).
m_renderControl->render();
+ m_context->functions()->glFlush();
// The cube renderer uses its own context, no need to bother with the state here.