1
0
mirror of synced 2024-11-24 06:20:12 +01:00

Blend 1 is the same as blend 0, according to Bishi.

This commit is contained in:
Jennifer Taylor 2021-05-22 21:54:53 +00:00
parent a5c93569e9
commit e3e6354295
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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