From 21043ad8170a7bd750080badbcb2763352fd6243 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 3 Aug 2018 00:09:20 +0200 Subject: [PATCH] Properly release the flow texture; saves 1 ms (!) on FBO creation. --- flow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/flow.cpp b/flow.cpp index 4b69c09..512bdaf 100644 --- a/flow.cpp +++ b/flow.cpp @@ -1547,6 +1547,7 @@ GLuint Interpolate::exec(GLuint tex0, GLuint tex1, GLuint forward_flow_tex, GLui ScopedTimer timer("Blend", &total_timer); blend.exec(tex0, tex1, flow_tex, output_tex, width, height, alpha); } + pool.release_texture(flow_tex); total_timer.end(); timers.print(); -- 2.39.2