diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2015-01-15 17:50:37 +0200 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2015-01-15 17:09:51 +0100 |
commit | 23bb7cad3166eedcd528da2d3c35377b506f80cc (patch) | |
tree | a2aa7fbdc859e27e0355512c1a1761c8d37a1934 | |
parent | fd6b6baed4ee1248ea82b15cf5f204025bcb7fac (diff) | |
download | qtwayland-5.4.1.tar.gz |
When the scenegraph is invalidated we delete the surfaces texture.
Set the update flag to true so that when the scene graph is again
initialized and starts to draw a frame the textures will be recreated.
Change-Id: I2fb171e4bed517e48fa2311c22651150f3e605f7
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
-rw-r--r-- | src/compositor/compositor_api/qwaylandquicksurface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandquicksurface.cpp b/src/compositor/compositor_api/qwaylandquicksurface.cpp index 166514f7..40cd8b74 100644 --- a/src/compositor/compositor_api/qwaylandquicksurface.cpp +++ b/src/compositor/compositor_api/qwaylandquicksurface.cpp @@ -111,6 +111,7 @@ public: { delete texture; texture = 0; + update = true; } QWaylandQuickSurface *surface; |