Skip to content

Commit

Permalink
glFinish, not glFlush, guarantees no flickering.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Aug 29, 2014
1 parent 770ed74 commit 0527606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/glwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ void FrameRenderer::showFrame(Mlt::QFrame frame)

glBindTexture(GL_TEXTURE_2D, 0);
check_error();
glFlush();
glFinish();

for (int i = 0; i < 3; ++i)
qSwap(m_renderTexture[i], m_displayTexture[i]);
Expand Down

0 comments on commit 0527606

Please sign in to comment.