release texture when we're done
authorDerek Foreman <foremande@gmail.com>
Thu, 10 Jun 2010 22:12:40 +0000 (18:12 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 26 Jun 2010 23:30:48 +0000 (01:30 +0200)
openbox/composite.c

index 9398e1d23d8a0e763ef08f7e66936bf06169fff5..cf2bdd0324c12a49f49d5b95f0678d843acf0807 100644 (file)
@@ -413,6 +413,7 @@ time_fix(&dif);
         glTexCoord2f(1, 0);
         glVertex3f(x + w, y, 0.0);
         glEnd();
+        obcomp.ReleaseTexImage(obt_display, win->gpixmap, GLX_FRONT_LEFT_EXT);
     }
     glXSwapBuffers(obt_display, obcomp.overlay);
     glFinish();