From e9a8ea24a64ed4ff2c892f366a8fecf45bc0e6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Thu, 6 Feb 2014 00:16:06 +0100 Subject: [PATCH] fix frontbuffer copying swap preference REVIEW: 115523 CCBUG: 330794 CCBUG: 322060 --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 27c9ab8790..77aec3c0c9 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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