Remove unnecessary blend_func definition (which just sets it to the default value)

This commit is contained in:
Grant Sanderson
2022-05-29 16:36:46 -07:00
parent 83b4aa6b88
commit 1b1ba606ed

View File

@ -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: