Skip to content

Commit

Permalink
Fix incorrect filtering used in mipmap generation
Browse files Browse the repository at this point in the history
  • Loading branch information
LaylBongers authored Mar 6, 2022
1 parent 0ac9ce0 commit b992275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/examples/mipmap/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl Example {
address_mode_v: wgpu::AddressMode::ClampToEdge,
address_mode_w: wgpu::AddressMode::ClampToEdge,
mag_filter: wgpu::FilterMode::Linear,
min_filter: wgpu::FilterMode::Nearest,
min_filter: wgpu::FilterMode::Linear,
mipmap_filter: wgpu::FilterMode::Nearest,
..Default::default()
});
Expand Down

0 comments on commit b992275

Please sign in to comment.