Skip to content

Commit

Permalink
minor: fixes for wasm
Browse files Browse the repository at this point in the history
...probably cuased by an awkward conflict resolution
  • Loading branch information
daladim committed Mar 1, 2022
1 parent de039a6 commit 84d64dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/window/icon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pub struct Icon(iced_winit::winit::window::Icon);

impl Icon {
/// Creates an icon from 32bpp RGBA data.
#[cfg(not(target_arch = "wasm32"))]
pub fn from_rgba(
rgba: Vec<u8>,
width: u32,
Expand Down

0 comments on commit 84d64dd

Please sign in to comment.