Fixed a bug with custom-sized textures in PngLoader

This commit is contained in:
OLEGSHA 2020-08-01 10:28:37 +03:00
parent 8aa0bb8aa0
commit 47ea102ed7

View File

@ -66,8 +66,8 @@ class PngLoader {
return new Pixels(
extractBytes(raster),
width, height,
bufferWidth, bufferHeight,
width, height,
settings
);
}