Blend 1 is the same as blend 0, according to Bishi.
This commit is contained in:
parent
a5c93569e9
commit
e3e6354295
@ -128,7 +128,7 @@ except ImportError:
|
||||
return img
|
||||
|
||||
# Warn if we have an unsupported blend.
|
||||
if blendfunc not in {0, 2, 3, 8, 9, 70}:
|
||||
if blendfunc not in {0, 1, 2, 3, 8, 9, 70}:
|
||||
print(f"WARNING: Unsupported blend {blendfunc}")
|
||||
return img
|
||||
|
||||
|
@ -58,7 +58,7 @@ def affine_composite(
|
||||
# be drawn.
|
||||
return img
|
||||
|
||||
if blendfunc not in {0, 2, 3, 8, 9, 70}:
|
||||
if blendfunc not in {0, 1, 2, 3, 8, 9, 70}:
|
||||
print(f"WARNING: Unsupported blend {blendfunc}")
|
||||
return img
|
||||
|
||||
|
@ -467,7 +467,7 @@ class AFPRenderer(VerboseOutput):
|
||||
else:
|
||||
new_only_depths = None
|
||||
|
||||
if blend not in {0, 2}:
|
||||
if blend not in {0, 1, 2}:
|
||||
print(f"WARNING: Unsupported sprite blend {blend}!")
|
||||
|
||||
# This is a sprite placement reference. Make sure that we render lower depths
|
||||
|
Loading…
Reference in New Issue
Block a user