From 1025cc60207fe533b1034aa21a37725ab044d53b Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 26 Apr 2021 11:45:06 +0200 Subject: [PATCH] Prospective fix for FBO leaks in the GL backend Using path clipping with the GL backend uses intermediate FBOs, which femtovg appears to leak. Pull in my temporary branch. --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 026dea173..e02f970d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,6 +65,10 @@ default-members = [ resolver = "2" +# Temporarily pull in https://github.com/tronical/femtovg/tree/simon/fbo-leak +[patch.crates-io] +femtovg = { git = "https://github.com/tronical/femtovg", rev = "56cd31d65503910c1cb44daff505434fe69c61cc" } + [profile.release] lto = true panic = "abort"