mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Update to winit 0.27.2, glutin 0.29.0, glium 0.32 (#1914)
This commit is contained in:
@@ -83,8 +83,8 @@ wgpu = { version = "0.13", optional = true }
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
dark-light = { version = "0.2.1", optional = true }
|
||||
egui-winit = { version = "0.18.0", path = "../egui-winit", default-features = false, features = ["clipboard", "links"] }
|
||||
glutin = { version = "0.28.0" }
|
||||
winit = "0.26.1"
|
||||
glutin = { version = "0.29.0" }
|
||||
winit = "0.27.2"
|
||||
|
||||
# optional native:
|
||||
puffin = { version = "0.13", optional = true }
|
||||
|
||||
@@ -424,7 +424,7 @@ mod glow_integration {
|
||||
native_options: &epi::NativeOptions,
|
||||
app_creator: epi::AppCreator,
|
||||
) {
|
||||
let event_loop = EventLoop::with_user_event();
|
||||
let event_loop = glutin::event_loop::EventLoopBuilder::with_user_event().build();
|
||||
let glow_eframe = GlowWinitApp::new(&event_loop, app_name, native_options, app_creator);
|
||||
|
||||
if native_options.run_and_return {
|
||||
@@ -682,7 +682,7 @@ mod wgpu_integration {
|
||||
native_options: &epi::NativeOptions,
|
||||
app_creator: epi::AppCreator,
|
||||
) {
|
||||
let event_loop = EventLoop::with_user_event();
|
||||
let event_loop = winit::event_loop::EventLoopBuilder::with_user_event().build();
|
||||
let wgpu_eframe = WgpuWinitApp::new(&event_loop, app_name, native_options, app_creator);
|
||||
|
||||
if native_options.run_and_return {
|
||||
|
||||
Reference in New Issue
Block a user