From 7deaf4cb114734f0125bea8ae2b7a72da3bd6233 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 25 Jan 2023 09:51:27 -0800 Subject: [PATCH] Small clean up --- manimlib/camera/camera.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/manimlib/camera/camera.py b/manimlib/camera/camera.py index 7a18ecbe..b5bbc2cc 100644 --- a/manimlib/camera/camera.py +++ b/manimlib/camera/camera.py @@ -476,12 +476,9 @@ class Camera(object): if not winding: vao.render(moderngl.TRIANGLES) return - self.fill_fbo.clear(0.0, 0.0, 0.0, 0.0) + self.fill_fbo.clear() self.fill_fbo.use() - self.ctx.blend_func = ( - moderngl.ONE, moderngl.ONE, - moderngl.ONE, moderngl.ONE, - ) + self.ctx.blend_func = (moderngl.ONE, moderngl.ONE) vao.render(render_primitive) self.ctx.blend_func = moderngl.DEFAULT_BLENDING self.fbo.use()