aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-09-08 16:00:07 +0200
committerGunnar Sletta <gunnar.sletta@nokia.com>2011-09-09 07:59:37 +0200
commitd24cbd632196dc5b69cc64b32891e23312947eda (patch)
treeebdce8b794dcf39b5cb7801b1b14f49ac66e5e6e /src
parent99e4a2a4a8a6337e7d97f82e7bbabcdd98fd13f5 (diff)
Only polish once pr frame
Change-Id: I7295d0936dd220c092ed6c78b19fdf8ee3a3ce23 Reviewed-on: http://codereview.qt-project.org/4465 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Matthew Cattell <matthew.cattell@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/declarative/items/qsgcanvas.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/items/qsgcanvas.cpp b/src/declarative/items/qsgcanvas.cpp
index 575a828757..b89a642e58 100644
--- a/src/declarative/items/qsgcanvas.cpp
+++ b/src/declarative/items/qsgcanvas.cpp
@@ -95,7 +95,6 @@ public:
animationDriver()->advance();
polishItems();
syncSceneGraph();
- polishItems();
makeCurrent();
glViewport(0, 0, size.width(), size.height());
renderSceneGraph(size);
@@ -145,7 +144,6 @@ public:
bool event(QEvent *e) {
if (e->type() == QEvent::User) {
- polishItems();
paint();
return true;
}