Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to egui 0.22 #15

Merged
merged 1 commit into from
Aug 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ default = ["opengl"]
opengl = ["egui_glow", "baseview/opengl"]

[dependencies]
egui = "0.19"
egui_glow = { version = "0.19", optional = true }
egui = "0.22"
egui_glow = { version = "0.22", optional = true }
keyboard-types = { version = "0.6.1", default-features = false }
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "eae4033e7d2cc9c31ccaa2794d5d08eedf2f510c" }
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "1d9806d5bd92275d0d8142d9c9c90198757b9b25" }
raw-window-handle = "0.4.2"
copypasta = "0.8"
2 changes: 1 addition & 1 deletion src/renderer/opengl_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ impl Renderer {
egui_glow::glow::Context::from_loader_function(|s| context.get_proc_address(s))
});

let painter = egui_glow::Painter::new(Arc::clone(&glow_context), None, "")
let painter = egui_glow::Painter::new(Arc::clone(&glow_context), "", None)
.map_err(|error| {
eprintln!("error occurred in initializing painter:\n{}", error);
})
Expand Down
1 change: 1 addition & 0 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ where
self.egui_input.events.push(egui::Event::Key {
key,
pressed,
repeat: event.repeat,
modifiers: self.egui_input.modifiers,
});
}
Expand Down
Loading