Update to winit 0.27.2, glutin 0.29.0, glium 0.32 (#1914)

This commit is contained in:
Emil Ernerfeldt
2022-08-14 16:23:46 +02:00
committed by GitHub
parent 38a67f8646
commit 923b67ef9c
12 changed files with 326 additions and 176 deletions
+2 -2
View File
@@ -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 {