Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #46 from adenexter/no-invalidate
Don't invalidate textures when the scene graph is stopped.
  • Loading branch information
giucam committed Sep 21, 2015
2 parents aa95fa3 + 40e23af commit 4be829e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/compositor/compositor_api/qwaylandquicksurface.cpp
Expand Up @@ -169,7 +169,6 @@ QWaylandQuickSurface::QWaylandQuickSurface(wl_client *client, quint32 id, int ve
QQuickWindow *window = static_cast<QQuickWindow *>(compositor->window());
connect(window, &QQuickWindow::beforeSynchronizing, this, &QWaylandQuickSurface::updateTexture, Qt::DirectConnection);
connect(window, &QQuickWindow::sceneGraphInvalidated, this, &QWaylandQuickSurface::invalidateTexture, Qt::DirectConnection);
connect(window, &QQuickWindow::sceneGraphAboutToStop, this, &QWaylandQuickSurface::invalidateTexture, Qt::DirectConnection);
connect(this, &QWaylandSurface::windowPropertyChanged, d->windowPropertyMap, &QQmlPropertyMap::insert);
connect(d->windowPropertyMap, &QQmlPropertyMap::valueChanged, this, &QWaylandSurface::setWindowProperty);

Expand Down

0 comments on commit 4be829e

Please sign in to comment.