Opt-in that QSGSimpleTextureNode can own the texture.
authorGunnar Sletta <gunnar.sletta@jollamobile.com>
Thu, 1 May 2014 14:04:14 +0000 (16:04 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 1 May 2014 20:14:18 +0000 (22:14 +0200)
commit46354ec47db9adc80ac185b2178dcd1f157665cd
treeb37e47248e1fc66b02365a17898399bc7a54c53d
parent0cb12e9e01b8309320706fab219945f0ff159413
Opt-in that QSGSimpleTextureNode can own the texture.

Having to subclass just to delete the texture is a bit
tedious.

Change-Id: I26c7e0b5c053ba70e004949ead748e50756d9b39
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
src/quick/scenegraph/util/qsgsimpletexturenode.cpp
src/quick/scenegraph/util/qsgsimpletexturenode.h
tests/auto/quick/nodes/tst_nodestest.cpp