Avoid crash when texture changes.
authorPaul Olav Tvete <paul.tvete@nokia.com>
Mon, 18 Apr 2011 11:23:41 +0000 (13:23 +0200)
committerPaul Olav Tvete <paul.tvete@nokia.com>
Mon, 18 Apr 2011 11:26:01 +0000 (13:26 +0200)
commit2b6ede9a794d191e991ca865af4c70902e0b0666
tree53a29a9a73c96d65bc5c2c2f7221a94491cd7c51
parentc3631ff684b47208b351f420b6d571f3326c0351
Avoid crash when texture changes.

Now that we delete and re-create the texture in surfaceDamaged(), we have
to tell the node about the texture each time, and not only at creation.
src/qt-compositor/compositor_api/waylandsurfaceitem.cpp