[wip] debug depth woes
This commit is contained in:
parent
ce05c157a7
commit
ec5606c16a
|
@ -133,7 +133,7 @@ impl Display {
|
||||||
// 1. Fix display output so we can print some values
|
// 1. Fix display output so we can print some values
|
||||||
// 2. Print display info
|
// 2. Print display info
|
||||||
// 3. Go from there.
|
// 3. Go from there.
|
||||||
(y * self.pitch + x * 4/*(self.depth / 8)*/ + self.color_component(chan)) as isize,
|
(y * self.pitch + x * (self.depth >> 3) + self.color_component(chan)) as isize,
|
||||||
) = c as u8;
|
) = c as u8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue