diff options
author | Michael Brasser <michael.brasser@live.com> | 2015-11-11 11:06:25 -0600 |
---|---|---|
committer | Michael Brasser <michael.brasser@live.com> | 2015-11-13 22:04:50 +0000 |
commit | a57d3db9bb2a3d9c24bcc8e63fb59a3a3140c5ae (patch) | |
tree | e6825c2f797f443e34e7ef7e0e3674c9bf5ace37 /src/quick/scenegraph | |
parent | 2b779fbd25aaf09897ee2cdc4edffd12a980420b (diff) |
Ensure we call updateTexture for all dynamic textures.
Change-Id: I888dc4b1dbc49deeb13f967b0da34cd2273f1680
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/quick/scenegraph')
-rw-r--r-- | src/quick/scenegraph/qsgdefaultimagenode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdefaultimagenode.cpp b/src/quick/scenegraph/qsgdefaultimagenode.cpp index db79804908..0591d0fe2f 100644 --- a/src/quick/scenegraph/qsgdefaultimagenode.cpp +++ b/src/quick/scenegraph/qsgdefaultimagenode.cpp @@ -284,7 +284,7 @@ void QSGDefaultImageNode::update() void QSGDefaultImageNode::preprocess() { bool doDirty = false; - QSGLayer *t = qobject_cast<QSGLayer *>(m_material.texture()); + QSGDynamicTexture *t = qobject_cast<QSGDynamicTexture *>(m_material.texture()); if (t) { doDirty = t->updateTexture(); updateGeometry(); |