mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Remove unnecessary blend_func definition (which just sets it to the default value)
This commit is contained in:
@ -230,10 +230,6 @@ class Camera(object):
|
||||
self.ctx.enable(moderngl.BLEND)
|
||||
else:
|
||||
self.ctx.disable(moderngl.BLEND)
|
||||
self.ctx.blend_func = (
|
||||
moderngl.SRC_ALPHA, moderngl.ONE_MINUS_SRC_ALPHA,
|
||||
# moderngl.ONE, moderngl.ONE
|
||||
)
|
||||
|
||||
def set_ctx_depth_test(self, enable: bool = True) -> None:
|
||||
if enable:
|
||||
|
Reference in New Issue
Block a user