]> git.tdb.fi Git - geometrycompositor.git/commitdiff
Cleanup root window resources
authorMikko Rasa <tdb@tdb.fi>
Mon, 14 Dec 2015 01:23:27 +0000 (03:23 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 14 Dec 2015 01:23:27 +0000 (03:23 +0200)
source/main.c

index a1d0f1cf43537d0ab1162981415c5344f214b0a3..2a22fdffd939619d73c81965708cf095eba845d2 100644 (file)
@@ -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);