trethaller hace 7 años
padre
commit
f1d148dff9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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";
 		}