Fixed a bug with custom-sized textures in PngLoader
This commit is contained in:
parent
8aa0bb8aa0
commit
47ea102ed7
@ -66,8 +66,8 @@ class PngLoader {
|
|||||||
|
|
||||||
return new Pixels(
|
return new Pixels(
|
||||||
extractBytes(raster),
|
extractBytes(raster),
|
||||||
width, height,
|
|
||||||
bufferWidth, bufferHeight,
|
bufferWidth, bufferHeight,
|
||||||
|
width, height,
|
||||||
settings
|
settings
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user