aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgcanvas_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-05-12 12:54:54 +0200
committerGunnar Sletta <gunnar.sletta@nokia.com>2011-05-12 12:56:49 +0200
commit733bacbcf92e402688e9d4b2ab23fab19c13f715 (patch)
treee1336b26bab41bea4f07a26d4007b412043bdd15 /src/declarative/items/qsgcanvas_p.h
parent434eb95e65b97809ec7aeca042bf76071dd17993 (diff)
When calling update() on a QSGItem during the sync phase, we did not update.
The QSGCanvas autotest did this. Reviewed-by: Kim
Diffstat (limited to 'src/declarative/items/qsgcanvas_p.h')
-rw-r--r--src/declarative/items/qsgcanvas_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/items/qsgcanvas_p.h b/src/declarative/items/qsgcanvas_p.h
index 98c3d93f45..6b8034f922 100644
--- a/src/declarative/items/qsgcanvas_p.h
+++ b/src/declarative/items/qsgcanvas_p.h
@@ -163,6 +163,7 @@ public:
uint idle : 1; // Set to true when render thread sees no change and enters a wait()
uint needsRepaint : 1; // Set by callback from render if scene needs repainting.
uint renderThreadAwakened : 1;
+ uint inSync: 1;
struct MyThread : public QThread {
MyThread(QSGCanvasPrivate *r) : renderer(r) {}