mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Set MSRV to 1.56.0 and use rust edition 2021 (#998)
This commit is contained in:
@@ -3,7 +3,8 @@ name = "egui-winit"
|
||||
version = "0.15.0"
|
||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||
description = "Bindings for using egui with winit"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
rust-version = "1.56"
|
||||
homepage = "https://github.com/emilk/egui/tree/master/egui-winit"
|
||||
license = "MIT OR Apache-2.0"
|
||||
readme = "README.md"
|
||||
|
||||
@@ -292,9 +292,8 @@ impl EpiIntegration {
|
||||
}
|
||||
.build();
|
||||
|
||||
let app = &mut self.app; // TODO: remove when we update MSVR 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 needs_repaint = egui_output.needs_repaint;
|
||||
|
||||
Reference in New Issue
Block a user