fix frontbuffer copying swap preference

REVIEW: 115523
CCBUG: 330794
CCBUG: 322060
This commit is contained in:
Thomas Lübking 2014-02-06 00:16:06 +01:00
parent bd87f1edc0
commit e9a8ea24a6

View file

@ -398,7 +398,7 @@ qint64 SceneOpenGL::paint(QRegion damage, ToplevelList toplevels)
glReadBuffer(GL_FRONT);
copyPixels(displayRegion - validRegion);
glReadBuffer(GL_BACK);
damage = displayRegion;
validRegion = displayRegion;
}
#endif