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


svn path=/branches/KDE/4.1/kdebase/workspace/; revision=855206
This commit is contained in:
Luboš Luňák 2008-08-31 10:05:52 +00:00
parent 335db5f3df
commit 317e0bd152

View file

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