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