From: Mikko Rasa Date: Mon, 14 Dec 2015 01:23:27 +0000 (+0200) Subject: Cleanup root window resources X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c4f658ad34f25528bcf8d4c97715c533aeb58a32;p=geometrycompositor.git Cleanup root window resources --- diff --git a/source/main.c b/source/main.c index a1d0f1c..2a22fdf 100644 --- a/source/main.c +++ b/source/main.c @@ -1002,6 +1002,9 @@ void shutdown_screen(Compositor *compositor, CompositedScreen *screen) } } + glDeleteTextures(1, &screen->root_texture); + glXDestroyPixmap(compositor->display, screen->root_glx_pixmap); + glDeleteBuffers(1, &screen->window_vertex_buffer); glDeleteVertexArrays(1, &screen->window_vertex_array); glDeleteFramebuffers(1, &screen->framebuffer);