This commit is contained in:
Simon Gardling 2022-03-14 23:55:06 -04:00
parent 601e7d7f10
commit 32e4699c5f

View File

@ -496,7 +496,7 @@ impl epi::App for MathApp {
fn name(&self) -> &str { "(Yet-to-be-named) Graphing Software" }
// Called once before the first frame.
fn setup(&mut self, _ctx: &Context, _frame: &Frame, _storage: Option<&dyn Storage>) {
fn setup(&mut self, _ctx: &Context, _frame: &Frame, _storage: Option<&dyn Storage>, _gl: &std::rc::Rc<epi::glow::Context>,) {
#[cfg(target_arch = "wasm32")]
stop_loading();
log_helper("egui app initialized.");