Virtuals don't work normally in dtors, call in overriden dtor too.

svn path=/trunk/KDE/kdebase/workspace/; revision=853290
This commit is contained in:
Luboš Luňák 2008-08-27 13:21:20 +00:00
parent 9751da77f8
commit a42ccaa4ba

View file

@ -854,6 +854,7 @@ SceneOpenGL::Texture::Texture( const Pixmap& pix, const QSize& size, int depth )
SceneOpenGL::Texture::~Texture()
{
discard();
}
void SceneOpenGL::Texture::init()