nicer bound check and renamed render to flush

This commit is contained in:
2026-02-17 17:04:37 +01:00
parent e9949a7526
commit c866d1dfd7
4 changed files with 11 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
start = Instant::now();
g13.clear(BinaryColor::Off)?;
app.draw(&mut g13);
g13.render()?; // 30 fps rendering
g13.flush()?; // 30 fps rendering
}
}
}