mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Set MSRV to 1.56.0 and use rust edition 2021 (#998)
This commit is contained in:
@@ -4,7 +4,8 @@ version = "0.15.0"
|
||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||
description = "Bindings for compiling egui code to WASM for a web page"
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
rust-version = "1.56"
|
||||
homepage = "https://github.com/emilk/egui/tree/master/egui_web"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/emilk/egui/tree/master/egui_web"
|
||||
|
||||
@@ -198,9 +198,8 @@ impl AppRunner {
|
||||
}
|
||||
.build();
|
||||
|
||||
let app = &mut self.app; // TODO: remove when we bump MSRV to 1.56
|
||||
let (egui_output, shapes) = self.egui_ctx.run(raw_input, |egui_ctx| {
|
||||
app.update(egui_ctx, &mut frame);
|
||||
self.app.update(egui_ctx, &mut frame);
|
||||
});
|
||||
let clipped_meshes = self.egui_ctx.tessellate(shapes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user