Skip to content

Commit 811e15b

Browse files
committed
[remove] create_event_loop.
1 parent 7cdcf69 commit 811e15b

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

  • crates/lambda-platform/src/winit
  • lambda/src/runtimes

crates/lambda-platform/src/winit/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ pub struct Loop<E: 'static + std::fmt::Debug> {
5454
event_loop: EventLoop<E>,
5555
}
5656

57-
pub fn create_event_loop<Events: 'static + std::fmt::Debug>() -> Loop<Events> {
58-
let event_loop = EventLoop::<Events>::with_user_event();
59-
return Loop { event_loop };
60-
}
61-
6257
/// Structure that contains properties needed for building a window.
6358
pub struct WindowProperties {
6459
pub name: String,

lambda/src/runtimes/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
use std::time::Instant;
22

33
use lambda_platform::winit::{
4-
create_event_loop,
54
winit_exports::{
65
ControlFlow,
76
Event as WinitEvent,

0 commit comments

Comments
 (0)