2
0
trethaller 7 жил өмнө
parent
commit
f1d148dff9
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      hxd/BitmapData.hx

+ 2 - 2
hxd/BitmapData.hx

@@ -166,7 +166,7 @@ class BitmapData {
 			r.x = x;
 			r.y = y;
 			bmp.draw(src.bmp, m, null, flash.display.BlendMode.SCREEN, r, false);
-		case SoftAdd:
+		case SoftAdd, BlendAdd:
 			throw "BlendMode not supported";
 		}
 		#else
@@ -192,7 +192,7 @@ class BitmapData {
 			flash.display.BlendMode.MULTIPLY;
 		case Screen:
 			flash.display.BlendMode.SCREEN;
-		case SoftAdd:
+		case SoftAdd, BlendAdd:
 			throw "BlendMode not supported";
 		}