Skip to content

Commit

Permalink
Remove unnecessary start_frame call
Browse files Browse the repository at this point in the history
  • Loading branch information
manpat committed Oct 6, 2024
1 parent 2a03e65 commit a08d888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toybox/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ pub fn run_with_settings<F, A>(settings: host::Settings<'_>, start_app: F) -> an
wants_quit: false,
};

// Required since we now call this at the end of frames rather than the beginning.
context.prepare_frame();
context.start_frame();

let app = tracing::info_span!("app start").in_scope(|| start_app(&mut context))?;

Expand Down

0 comments on commit a08d888

Please sign in to comment.