Commit b00cc9cd authored by Thomas Lübking's avatar Thomas Lübking
Browse files

fix frontbuffer copying swap preference

REVIEW: 115523
CCBUG: 330794
CCBUG: 322060
parent 6e5e5ca5
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment