Scene
This commit is contained in:
1 parent
a4a81657f5
commit
a3f2c83550
14 files changed
+2509
-2360
No files matched your search
@@ -37,7 +37,7 @@ public class Image8 {
|
||||
|
||||
if (pixelOrder == 0) {
|
||||
for (int i = 0; i < pixelCount; i++) {
|
||||
pixels[i] = dat.read8();
|
||||
pixels[i] = dat.read();
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -45,7 +45,7 @@ public class Image8 {
|
||||
if (pixelOrder == 1) {
|
||||
for (int x = 0; x < width; x++) {
|
||||
for (int y = 0; y < height; y++) {
|
||||
pixels[x + (y * width)] = dat.read8();
|
||||
pixels[x + (y * width)] = dat.read();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user