aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}