Change-Id: I97ecc41fcb7255981c863996064cf6d6bae7ebbb
Reviewed-on: http://codereview.qt.nokia.com/2356
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
~UltraMaterial()
{
- if (texture)
- delete texture;
- if (colortable)
- delete colortable;
- if (sizetable)
- delete sizetable;
- if (opacitytable)
- delete opacitytable;
+ delete texture;
+ delete colortable;
+ delete sizetable;
+ delete opacitytable;
}
virtual QSGMaterialType *type() const { static QSGMaterialType type; return &type; }