diff options
Diffstat (limited to 'examples/quick')
-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 d840d3989b..77b2b06de8 100644 --- a/examples/quick/scenegraph/textureinthread/threadrenderer.cpp +++ b/examples/quick/scenegraph/textureinthread/threadrenderer.cpp @@ -189,6 +189,8 @@ public slots: m_mutex.unlock(); if (newId) { delete m_texture; + // note: include QQuickWindow::TextureHasAlphaChannel if the rendered content + // has alpha. m_texture = m_window->createTextureFromId(newId, size); setTexture(m_texture); |