opengl: clear ping-pong texture before blitting to it

This commit is contained in:
itsmattkc
2020-06-12 03:44:43 +10:00
parent 7b9764254d
commit 955d4ce910
+1 -1
View File
@@ -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