Fixed crashes and missing textures in WaylandSurfaceItem.
authorSamuel Rødal <samuel.rodal@nokia.com>
Mon, 30 Apr 2012 12:45:19 +0000 (14:45 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 2 May 2012 07:06:25 +0000 (09:06 +0200)
commitf40481252f3e3e0a8b043b5f761747850db14953
treed2aef64739fbf7c1f61bca31b146fff5bc16765d
parentb9c16d0e85da4234416d08ee1c2a7c94ca73f60d
Fixed crashes and missing textures in WaylandSurfaceItem.

There might not always be a node created, so move the ownership of the
QSGTexture to the texture provider, which we now unconditionally create.

Change-Id: Ie9d6e846961ee468323f8acf731704b4ef313396
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/compositor/compositor_api/waylandsurfaceitem.cpp
src/compositor/compositor_api/waylandsurfaceitem.h