glx1.3, section 3.4.2: "GLXPixmaps created by calls other
than glXCreateGLXPixmap should not be passed to glXDestroyGLXPixmap." svn path=/trunk/KDE/kdebase/workspace/; revision=983660
This commit is contained in:
parent
50323a00c4
commit
60f8d8a84f
1 changed files with 1 additions and 1 deletions
|
@ -1004,7 +1004,7 @@ void SceneOpenGL::Texture::release()
|
|||
{
|
||||
if( !options->glStrictBinding )
|
||||
glXReleaseTexImageEXT( display(), bound_glxpixmap, GLX_FRONT_LEFT_EXT );
|
||||
glXDestroyGLXPixmap( display(), bound_glxpixmap );
|
||||
glXDestroyPixmap( display(), bound_glxpixmap );
|
||||
bound_glxpixmap = None;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue