fix frontbuffer copying swap preference
REVIEW: 115523 CCBUG: 330794 CCBUG: 322060
This commit is contained in:
parent
bd87f1edc0
commit
e9a8ea24a6
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ qint64 SceneOpenGL::paint(QRegion damage, ToplevelList toplevels)
|
||||||
glReadBuffer(GL_FRONT);
|
glReadBuffer(GL_FRONT);
|
||||||
copyPixels(displayRegion - validRegion);
|
copyPixels(displayRegion - validRegion);
|
||||||
glReadBuffer(GL_BACK);
|
glReadBuffer(GL_BACK);
|
||||||
damage = displayRegion;
|
validRegion = displayRegion;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue