drop malicious waitSync

REVIEW: 110558
icc-effect-5.14.5
Thomas Lübking 2013-03-28 22:55:14 +01:00
parent 6c998fc668
commit 175f117af3
1 changed files with 0 additions and 2 deletions

View File

@ -436,7 +436,6 @@ void GlxBackend::present()
glXSwapBuffers(display(), glxWindow);
}
} else if (glXCopySubBuffer) {
waitSync();
foreach (const QRect & r, lastDamage().rects()) {
// convert to OpenGL coordinates
int y = displayHeight() - r.y() - r.height();
@ -444,7 +443,6 @@ void GlxBackend::present()
}
} else { // Copy Pixels (horribly slow on Mesa)
glDrawBuffer(GL_FRONT);
waitSync();
SceneOpenGL::copyPixels(lastDamage());
glDrawBuffer(GL_BACK);
}