Skip to content

Commit

Permalink
use auto alpha mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Jan 4, 2024
1 parent 8071443 commit 1954051
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,4 @@ world
*.exe
*.tar.gz
__pycache__
native_app/target*
assets_gui/target*
headless/target*
engine_demo/target*
*/target*
2 changes: 1 addition & 1 deletion engine/src/gfx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ impl GfxContext {
width: win_width,
height: win_height,
present_mode: wgpu::PresentMode::Fifo,
alpha_mode: CompositeAlphaMode::Opaque,
alpha_mode: CompositeAlphaMode::Auto,
view_formats: vec![],
};
let samples = if cfg!(target_arch = "wasm32") { 1 } else { 4 };
Expand Down

0 comments on commit 1954051

Please sign in to comment.