consistent use of glXDestroyGLXPixmap
authorDana Jansens <danakj@orodu.net>
Thu, 10 Jun 2010 22:55:47 +0000 (18:55 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 26 Jun 2010 23:30:48 +0000 (01:30 +0200)
openbox/window.c

index 51d506f..0656816 100644 (file)
@@ -92,7 +92,7 @@ void window_free(ObWindow *self)
         if (self->damage)
             XDamageDestroy(obt_display, self->damage);
         if (self->gpixmap)
-            glXDestroyPixmap(obt_display, self->gpixmap);
+            glXDestroyGLXPixmap(obt_display, self->gpixmap);
         if (self->pixmap)
             XFreePixmap(obt_display, self->pixmap);
         if (self->texture)