[cairo-commit] src/cairo-gl-shaders.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Oct 12 07:45:32 UTC 2019


 src/cairo-gl-shaders.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit f93fc72c0c3e158982740015304389192ce8a567
Author: Heiko Lewin <hlewin at gmx.de>
Date:   Sat Oct 12 07:45:29 2019 +0000

    Delete fill_rectangles_shader on device finish

diff --git a/src/cairo-gl-shaders.c b/src/cairo-gl-shaders.c
index c43cf3b18..f789ae1d9 100644
--- a/src/cairo-gl-shaders.c
+++ b/src/cairo-gl-shaders.c
@@ -203,6 +203,7 @@ _cairo_gl_context_fini_shaders (cairo_gl_context_t *ctx)
 	    ctx->dispatch.DeleteShader (ctx->vertex_shaders[i]);
     }
 
+    _cairo_gl_shader_fini(ctx, &ctx->fill_rectangles_shader);
     _cairo_cache_fini (&ctx->shaders);
 }
 


More information about the cairo-commit mailing list