From 60f8d8a84f4256d42de7a391f97d48d62d983dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 18 Jun 2009 18:54:15 +0000 Subject: [PATCH] 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 --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 361a3b2b87..266b63a043 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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; } }