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
|
return img
|
||||||
|
|
||||||
# Warn if we have an unsupported blend.
|
# 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}")
|
print(f"WARNING: Unsupported blend {blendfunc}")
|
||||||
return img
|
return img
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ def affine_composite(
|
|||||||
# be drawn.
|
# be drawn.
|
||||||
return img
|
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}")
|
print(f"WARNING: Unsupported blend {blendfunc}")
|
||||||
return img
|
return img
|
||||||
|
|
||||||
|
@ -467,7 +467,7 @@ class AFPRenderer(VerboseOutput):
|
|||||||
else:
|
else:
|
||||||
new_only_depths = None
|
new_only_depths = None
|
||||||
|
|
||||||
if blend not in {0, 2}:
|
if blend not in {0, 1, 2}:
|
||||||
print(f"WARNING: Unsupported sprite blend {blend}!")
|
print(f"WARNING: Unsupported sprite blend {blend}!")
|
||||||
|
|
||||||
# This is a sprite placement reference. Make sure that we render lower depths
|
# This is a sprite placement reference. Make sure that we render lower depths
|
||||||
|
Loading…
Reference in New Issue
Block a user