bstouls 8 年之前
父节点
当前提交
fa61fe2036
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      hxd/Pixels.hx

+ 1 - 0
hxd/Pixels.hx

@@ -334,6 +334,7 @@ class Pixels {
 
 	public function toPNG( ?level = 9 ) {
 		var png;
+		setFlip(false);
 		switch( format ) {
 		case ARGB:
 			png = std.format.png.Tools.build32ARGB(width, height, bytes #if (format >= "3.3") , level #end);