Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRawMeatball committed Jun 6, 2021
1 parent 396d1c5 commit e464c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use bevy_math::{ivec2, Vec2};
use bevy_utils::tracing::{error, trace, warn};
use bevy_window::{
CreateWindow, CursorEntered, CursorLeft, CursorMoved, FileDragAndDrop, ReceivedCharacter,
WindowBackendScaleFactorChanged, WindowCloseRequested, WindowCreated, WindowFocused, WindowId,
WindowBackendScaleFactorChanged, WindowCloseRequested, WindowCreated, WindowFocused,
WindowMoved, WindowResized, WindowScaleFactorChanged, Windows,
};
use winit::{
Expand Down Expand Up @@ -497,7 +497,7 @@ pub fn winit_runner_with(mut app: App, mut event_loop: EventLoop<()>) {
.unwrap();

window_created_events.send(WindowCreated {
id: WindowId::primary(),
id: bevy_window::WindowId::primary(),
});
}
}
Expand Down

0 comments on commit e464c21

Please sign in to comment.