Merge branch 'main' into arena
This commit is contained in:
commit
3781626379
24 changed files with 1017 additions and 489 deletions
|
@ -1267,7 +1267,6 @@ impl<'a> WindowContext<'a> {
|
|||
|
||||
/// Draw pixels to the display for this window based on the contents of its scene.
|
||||
pub(crate) fn draw(&mut self) -> Scene {
|
||||
let t0 = std::time::Instant::now();
|
||||
self.window.dirty = false;
|
||||
self.window.drawing = true;
|
||||
|
||||
|
@ -1369,7 +1368,6 @@ impl<'a> WindowContext<'a> {
|
|||
}
|
||||
|
||||
self.window.drawing = false;
|
||||
eprintln!("window draw: {:?}", t0.elapsed());
|
||||
|
||||
scene
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue