drop malicious waitSync
REVIEW: 110558
This commit is contained in:
parent
6c998fc668
commit
175f117af3
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue