From 955d4ce910d57a843a730ececcf13a5a5c3e788b Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 12 Jun 2020 03:44:43 +1000 Subject: [PATCH] opengl: clear ping-pong texture before blitting to it --- app/render/backend/opengl/openglproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/render/backend/opengl/openglproxy.cpp b/app/render/backend/opengl/openglproxy.cpp index b085826e4..df5af00cb 100644 --- a/app/render/backend/opengl/openglproxy.cpp +++ b/app/render/backend/opengl/openglproxy.cpp @@ -449,7 +449,7 @@ QVariant OpenGLProxy::RunNodeAccelerated(const Node *node, OpenGLRenderFunctions::PrepareToDraw(functions_); } - buffer_.Attach(output_tex->texture()); + buffer_.Attach(output_tex->texture(), true); buffer_.Bind(); // Blit this texture through this shader