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:
parent
9751da77f8
commit
a42ccaa4ba
1 changed files with 1 additions and 0 deletions
|
@ -854,6 +854,7 @@ SceneOpenGL::Texture::Texture( const Pixmap& pix, const QSize& size, int depth )
|
|||
|
||||
SceneOpenGL::Texture::~Texture()
|
||||
{
|
||||
discard();
|
||||
}
|
||||
|
||||
void SceneOpenGL::Texture::init()
|
||||
|
|
Loading…
Reference in a new issue