Add hint regarding alpha fbo's in the textureinthread example.

Change-Id: I92e6a7c2ca9e9f229b1fc463feea9f657ae18db9
Task-number: QTBUG-42486
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
This commit is contained in:
Gunnar Sletta 2014-11-10 19:45:36 +01:00
parent 124ff9c5a3
commit 54ec039a97
1 changed files with 2 additions and 0 deletions

View File

@ -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);