Skip to content

Commit

Permalink
update info on window transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Dec 9, 2021
1 parent b4853e4 commit fc1acaf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/bevy_window/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,9 +550,10 @@ pub struct WindowDescriptor {
/// Sets whether the background of the window should be transparent.
/// # Platform-specific
/// - iOS / Android / Web: Unsupported.
/// - OSX / Linux : Not working as expected.
/// OSX transparent works with winit out of the box, so this issue might be related to: https://github.com/gfx-rs/wgpu/issues/687
/// Linux now works with this pr merged in, which should work with the next release of winit : https://github.com/rust-windowing/winit/pull/2006
/// - macOS X: Not working as expected.
/// - Windows 11: Not working as expected
/// macOS X transparent works with winit out of the box, so this issue might be related to: https://github.com/gfx-rs/wgpu/issues/687
/// Windows 11 is related to https://github.com/rust-windowing/winit/issues/2082
pub transparent: bool,
#[cfg(target_arch = "wasm32")]
pub canvas: Option<String>,
Expand Down

0 comments on commit fc1acaf

Please sign in to comment.