mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Small clean up
This commit is contained in:
parent
ab57b0acf0
commit
0f89349bb8
1 changed files with 2 additions and 2 deletions
|
@ -290,9 +290,9 @@ class FillShaderWrapper(ShaderWrapper):
|
|||
|
||||
texture_fbo.clear()
|
||||
texture_fbo.use()
|
||||
vao.render()
|
||||
vao.render(moderngl.TRIANGLE_STRIP)
|
||||
|
||||
original_fbo.use()
|
||||
self.ctx.blend_func = (moderngl.ONE, moderngl.ONE_MINUS_SRC_ALPHA)
|
||||
texture_vao.render(moderngl.TRIANGLE_STRIP)
|
||||
self.ctx.blend_func = (moderngl.DEFAULT_BLENDING)
|
||||
self.ctx.blend_func = moderngl.DEFAULT_BLENDING
|
||||
|
|
Loading…
Add table
Reference in a new issue