Fix PixelArray Creation Width
This commit is contained in:
parent
eb12e43d71
commit
56994771f0
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class PixelArray {
|
|||
pixels = new List(height);
|
||||
for (int y = 0; y < height; y++) {
|
||||
pixels[y] = new List(width);
|
||||
for (int x = 0; x < height; x++) {
|
||||
for (int x = 0; x < width; x++) {
|
||||
pixels[y][x] = new Pixel(x, y, 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue