Skip to content

Commit

Permalink
Fixed compilation of non-wasm targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
anlumo committed Oct 3, 2022
1 parent 4de1fdc commit 40d50a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_window/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use bevy_math::{DVec2, IVec2, UVec2, Vec2};
use bevy_reflect::{FromReflect, Reflect};
use bevy_utils::{tracing::warn, Uuid};
use raw_window_handle::RawWindowHandle;
#[cfg(target_arch = "wasm32")]
use wasm_bindgen::JsCast;

#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Reflect, FromReflect)]
Expand Down

0 comments on commit 40d50a3

Please sign in to comment.