nicer bound check and renamed render to flush
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user