2
0
Nicolas Cannasse 5 жил өмнө
parent
commit
233d874dc9
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      hxd/res/Image.hx

+ 1 - 1
hxd/res/Image.hx

@@ -269,7 +269,7 @@ class Image extends Resource {
 		inf = null;
 		var s = getSize();
 		if( w != s.width || h != s.height )
-			tex.resize(w, h);
+			tex.resize(s.width, s.height);
 		tex.realloc = null;
 		loadTexture();
 	}