ソースを参照

- Fix missing blendmode

ShiroSmith 7 年 前
コミット
3367c19b34
1 ファイル変更2 行追加2 行削除
  1. 2 2
      hxd/BitmapData.hx

+ 2 - 2
hxd/BitmapData.hx

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