bstouls %!s(int64=8) %!d(string=hai) anos
pai
achega
fa61fe2036
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hxd/Pixels.hx

+ 1 - 0
hxd/Pixels.hx

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