diff options
Diffstat (limited to 'examples/quick/scenegraph/textureinthread/threadrenderer.cpp')
-rw-r--r-- | examples/quick/scenegraph/textureinthread/threadrenderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/textureinthread/threadrenderer.cpp b/examples/quick/scenegraph/textureinthread/threadrenderer.cpp index 270a7f4323..d840d3989b 100644 --- a/examples/quick/scenegraph/textureinthread/threadrenderer.cpp +++ b/examples/quick/scenegraph/textureinthread/threadrenderer.cpp @@ -192,6 +192,8 @@ public slots: m_texture = m_window->createTextureFromId(newId, size); setTexture(m_texture); + markDirty(DirtyMaterial); + // This will notify the rendering thread that the texture is now being rendered // and it can start rendering to the other one. emit textureInUse(); |