Skip to content

Commit

Permalink
fix: potential fix for #27
Browse files Browse the repository at this point in the history
  • Loading branch information
ElhamAryanpur committed May 15, 2023
1 parent 39632ab commit 641e4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl Renderer {
#[cfg(not(feature = "android"))]
present_mode: wgpu::PresentMode::Fifo,
alpha_mode: wgpu::CompositeAlphaMode::Auto,
view_formats: vec![],
view_formats: vec![tex_format],
};
#[cfg(not(feature = "android"))]
surface.as_ref().unwrap().configure(&device, &config);
Expand Down

0 comments on commit 641e4d6

Please sign in to comment.