From: Derek Foreman Date: Thu, 10 Jun 2010 22:12:40 +0000 (-0400) Subject: release texture when we're done X-Git-Tag: cgl~44 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5a8d83dbf71ea4cc4c249ceddf1675e6caee8d75;p=dana%2Fopenbox.git release texture when we're done --- diff --git a/openbox/composite.c b/openbox/composite.c index 9398e1d2..cf2bdd03 100644 --- a/openbox/composite.c +++ b/openbox/composite.c @@ -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();