implement PLN-0044 host 270p propagation
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
Intrepid/Prometeu/Runtime/pipeline/pr-master This commit looks good

This commit is contained in:
2026-04-27 06:44:18 +01:00
parent 4ca53046bf
commit 6a681ba4bc
3 changed files with 6 additions and 5 deletions
@@ -437,6 +437,7 @@ fn glyph_bits(ch: char) -> [u8; 7] {
#[cfg(test)]
mod tests {
use super::*;
use prometeu_drivers::hardware::Hardware;
fn sample_snapshot() -> OverlaySnapshot {
OverlaySnapshot {
@@ -474,8 +475,8 @@ mod tests {
#[test]
fn draw_overlay_writes_to_host_rgba_frame() {
let mut frame = vec![0u8; 320 * 180 * 4];
draw_overlay(&mut frame, 320, 180, &sample_snapshot());
let mut frame = vec![0u8; Hardware::W * Hardware::H * 4];
draw_overlay(&mut frame, Hardware::W, Hardware::H, &sample_snapshot());
assert!(frame.iter().any(|&byte| byte != 0));
}