mirror of
https://github.com/3b1b/manim.git
synced 2025-08-31 18:28:28 +00:00
Small clean up
This commit is contained in:
parent
93dd9f687b
commit
7deaf4cb11
1 changed files with 2 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue